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

samba-bugs at samba.org samba-bugs at samba.org
Thu Mar 13 21:16:04 MDT 2014


--- Comment #4 from Kevin Korb <rsync at sanitarium.net> 2014-03-14 03:16:04 UTC ---
Directories are only followed if you use -r aka --recursive.  Note that in my
example I did so.  However, if you added -r to your example you would get any
directory in the current directory named *.c recursively.  IOW it would
recursively copy a directory named foo.c but would not copy foo/bar.c

Simply put, *.c as the source is expanded by the shell globbing.  Rsync is
actually given a list of every file/directory that matches *.c.  Then without
--recursive it ignores the ones that are directories.  Without --specials it
ignores those too.

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