question about output of files copied/deleted
Francis.Montagnac at inria.fr
Francis.Montagnac at inria.fr
Thu Jul 17 00:54:12 MDT 2014
Hi.
On Wed, 16 Jul 2014 23:24:45 -0700 Don Cohen wrote:
> So another question/suggestion - if you save the output it would be
> nice to be able to pipe it back into rsync as the list of files to
> be transferred - which would be easier if there were a switch to do
> the translation above. ...
Not quite I think but you can try something like:
rsync -a -n --out-format %n SRC DST \
| perl -pe 's/\\#(\d\d\d)/ chr(oct($1)) /eg;' \
| rsync -i -a --files-from - SRC DST
Francis
More information about the rsync
mailing list