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: way...@samba.org
        ReportedBy: chea...@gmail.com
         QAContact: rsync...@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.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to