On Tue 13 Nov 2007, Matt McCutchen wrote: > > > Directories have to be created remotely only if files match > > > > That last restriction is a bit of a spoiler, > > It can be achieved with --prune-empty-dirs .
Ah, that's the option I was missing. > > But if you're using --files-from anyway, why not use find to get the > > list of files and don't let rsync recurse... > > Why find ? It seems to me that one would do: Because of what the OP said: : where : /tmp/source contains : /var : grep '\.log$' /tmp/source will not find much then... Paul Slootman -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html