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

           Summary: rsync not recursive when using -a in combination with --
                    files-from
           Product: rsync
           Version: 2.6.8
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


rsync does not copy files recursively when -a and --files-from are used
together:

[EMAIL PROTECTED]:~$ mkdir src dst; touch src/testfile; echo src > files
[EMAIL PROTECTED]:~$ rsync -a --files-from=files . dst
[EMAIL PROTECTED]:~$ find dst/
dst/
dst/src

But it it's doing is recursively, when an additional -r is given:

[EMAIL PROTECTED]:~$ rm -rf dst/; mkdir dst
[EMAIL PROTECTED]:~$ rsync -ra --files-from=files . dst
[EMAIL PROTECTED]:~$ find dst/
dst/
dst/src
dst/src/testfile


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
-- 
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