[Bug 10495] New: "skipping directory foo" (does not transfer directories by default)

samba-bugs at samba.org samba-bugs at samba.org
Tue Mar 11 10:24:12 MDT 2014


https://bugzilla.samba.org/show_bug.cgi?id=10495

           Summary: "skipping directory foo" (does not transfer
                    directories by default)
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: chealer at gmail.com
         QAContact: rsync-qa at samba.org


rsync's manual does not specify its usage. However, examples are provided in
the USAGE section. Unfortunately, there is a huge error in the very first
example:

rsync -t *.c foo:src/ 


 This would transfer all files matching the pattern *.c from the current
directory to the directory src on the machine foo. If any of the files already
exist on the remote system then the rsync remote-update protocol is used to
update the file by sending only the differences. See the tech report for
details. 

In fact, only the files matching the pattern and with the right type are
copied. I do not know which types are copied by default, but I know that
directories are not (unless this would be a Debian-specific behavior). If
--dirs is not specified, trying the above will throw a "skipping directory x"
for all matching directories.

By the way, it is far from obvious which "tech report" this description refers
to.

-- 
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