Output of --list-only?

Matt McCutchen matt at mattmccutchen.net
Fri Nov 20 15:44:30 MST 2009


On Fri, 2009-11-20 at 12:21 -0500, Benjamin R. Haskell wrote:
> Am I overlooking something obvious, or is there really no way to specify 
> an output format for '--list-only' or 'rsync -a [SOURCE]'?

There is no way.  You can enter an enhancement request if you like.

> In case anyone's curious or another method's better, the goal is to use 
> multiple '--exclude-from=FILE' files, but to do something other than 
> 'rsync' with the list of files that would be generated by 'rsync'.

> rsync --dry-run --out-format=%n -i -a [SOURCE] /nonexistent/path/

Yes, that's what I did in the same situation.

-- 
Matt



More information about the rsync mailing list