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

samba-bugs at samba.org samba-bugs at samba.org
Fri Mar 21 23:18:37 MDT 2014


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

--- Comment #13 from Filipus Klutiero <chealer at gmail.com> 2014-03-22 05:18:35 UTC ---
That's not what I meant. Here is what this example will do on a simple
directory having 2 files matching *.c:

$ ls -lR
.:
total 4
drwxr-xr-x 2 test test 4096 mar 22 01:04 bar.c
-rw-r--r-- 1 test test    0 mar 22 01:04 foo.c

./bar.c:
total 0
test at vinci:~/testsrc$ rsync -t *.c ~/testdst/ 
skipping directory bar.c
test at vinci:~/testsrc$ ls -lR ~/testdst/
/home/test/testdst/:
total 0
-rw-r--r-- 1 test test 0 mar 22 01:04 foo.c
test at vinci:~/testsrc$

All files in testsrc/ are directory entries of testsrc/. Yet, after the
transfer, even though all of these files match *.c, only some have been
transferred. bar.c was not transferred, since it is a directory and rsync does
not transfer directories unless some options which weren't given are given.

-- 
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