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

samba-bugs at samba.org samba-bugs at samba.org
Thu Mar 13 18:12:54 MDT 2014


--- Comment #2 from Kevin Korb <rsync at sanitarium.net> 2014-03-14 00:12:53 UTC ---
BTW, there is also a recursive example in the include/exclude pattern rules:
>  The combination  of  "+ */", "+ *.c", and "- *" would include all directories and C source files but nothing else (see also the --prune-empty-dirs option)

In other words:
rsync -rt --prune-empty-dirs --include="*/" --include="*.c" --exclude="*"
/path/to/source/ /path/to/target/
will copy all *.c files and the directories leading to them in an entire tree.

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