[Bug 8336] --implied-dirs should include the file-list root by default

samba-bugs at samba.org samba-bugs at samba.org
Mon Aug 8 06:31:53 MDT 2011


--- Comment #7 from Matt McCutchen <matt at mattmccutchen.net> 2011-08-08 12:31:52 UTC ---
(In reply to comment #4)
> (In reply to comment #3)
> > If I do "rsync -R sub/foo sub/bar dest/", I could make the exact same
> > argument that "sub is not being sent, just specific files within it"
> But that's exactly what -R does -- it sends the dirs mentioned as path elements
> (it just doesn't scan the dirs).  There's no '.' dir mentioned in the path, so
> it doesn't get sent.

You've just restated the current behavior.  My question is, why is it useful? 
When would you ever want to preserve attributes of all ancestors except the
root dir?  I cannot imagine any use for avoiding attribute preservation on that
particular directory.

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the rsync mailing list