https://bugzilla.samba.org/show_bug.cgi?id=10495
--- Comment #4 from Kevin Korb <rs...@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. -- 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