--delete and --files-from

Matt McCutchen matt at mattmccutchen.net
Thu Jun 26 20:04:00 GMT 2008

On Thu, 2008-06-26 at 07:41 -0700, Wayne Davison wrote:
> 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, I think you are misunderstanding Aaron's message.  As I read it,
the "target directory" is the destination argument, the "subdirectories"
are the files-from entries, and the problem is that these
"subdirectories" themselves are not deleted when they are no longer
listed in the --files-from file (which is the topic of bug 3465).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20080626/0f3b9d75/attachment.bin

More information about the rsync mailing list