--delete and --files-from

Wayne Davison wayned at samba.org
Thu Jun 26 14:41:10 GMT 2008


On Wed, Jun 25, 2008 at 04:26:08PM -0400, Aaron Davies wrote:
> My guess is that the subdirectories of the target directory not
> mentioned in the --files-from file are not considered part of the
> sync and are thus not considered for deletion.

No, not if you've explicitly specified -r (since -a doesn't imply -r
with --files-from).  Subdirectories of specified directories are
synchronized, just like normal.

..wayne..


More information about the rsync mailing list