Hi All Some time rsync just return error code 23 that some files are not transferred. Is there a way to get a list of these files so we can retry it later time? For example, we scan the whole file system and N files are not transferred. Instead of scan the whole file system later again, we can use files-from which is much faster. Thanks. -- Ming Zhang @#$%^ purging memory... (*!% http://blackmagic02881.wordpress.com/ http://www.linkedin.com/in/blackmagic02881 --------------------------------------------
On Thu, Mar 13, 2008 at 11:01:35AM -0400, Ming Zhang wrote:> Some time rsync just return error code 23 that some files are not > transferred. Is there a way to get a list of these files so we can retry > it later time?The list of files was output on stderr during the copy. Rsync will try them again if you repeat the copy. ..wayne..
On Thu, 2008-03-13 at 18:27 -0700, Wayne Davison wrote:> On Thu, Mar 13, 2008 at 11:01:35AM -0400, Ming Zhang wrote: > > Some time rsync just return error code 23 that some files are not > > transferred. Is there a way to get a list of these files so we can retry > > it later time? > > The list of files was output on stderr during the copy. Rsync will try > them again if you repeat the copy.interesting, i will try. thx.> > ..wayne..-- Ming Zhang @#$%^ purging memory... (*!% http://blackmagic02881.wordpress.com/ http://www.linkedin.com/in/blackmagic02881 --------------------------------------------
On Thu, 2008-03-13 at 11:01 -0400, Ming Zhang wrote:> Some time rsync just return error code 23 that some files are not > transferred. Is there a way to get a list of these files so we can retry > it later time? > > For example, we scan the whole file system and N files are not > transferred. Instead of scan the whole file system later again, we can > use files-from which is much faster.Ming, the situation hasn't changed since you asked this question in January: http://lists.samba.org/archive/rsync/2008-January/019648.html Wayne, yes, the FERROR_XFER messages are printed to stderr, but they do not follow a common pattern, and some (especially in acls.c) don't even include the name of the affected file, so getting a list of the failed files is nontrivial. Matt