How to getting clean list of transferred files

Jan-Benedict Glaw jbglaw at lug-owl.de
Fri Mar 26 14:56:01 GMT 2004


On Fri, 2004-03-26 14:38:22 +0100, Markus Marquardt <markus.marquardt at atosorigin.com>
wrote in message <4064324E.50207 at atosorigin.com>:

> Now rsync sometimes generates messages like "file has vanished: ..." on 
> STDOUT (_not_ STDERR) which breaks this processing.

Sounds at least surprising. Just prepare a patch to output this on
stderr if your scripts break.

> Is there any way to get a "clean" list of the transferred files (without 
> doing things like grep or sed on the output stream)?

Well, "grep -v" would IMHO be the "natural" way to clean the output.
Long-term solution is more like patching rsync to use stderr, though...

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/rsync/attachments/20040326/fe384281/attachment.bin


More information about the rsync mailing list