DO NOT REPLY [Bug 4183] New: rsync not recursive when using -a in combination with --files-from

samba-bugs at samba.org samba-bugs at samba.org
Mon Oct 23 01:12:29 GMT 2006


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: wayned at samba.org
        ReportedBy: masteradi at gmx.ch
         QAContact: rsync-qa at samba.org


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

adi at stargate:~$ mkdir src dst; touch src/testfile; echo src > files
adi at stargate:~$ rsync -a --files-from=files . dst
adi at stargate:~$ find dst/
dst/
dst/src

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

adi at stargate:~$ rm -rf dst/; mkdir dst
adi at stargate:~$ rsync -ra --files-from=files . dst
adi at stargate:~$ 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.


More information about the rsync mailing list