Displaying 1 result from an estimated 1 matches for "2d5875ee".
2018 Jan 24
1
glob exclude vs include behaviour
not a bug, buy colour me confused:
/tmp/foo$ mkdir a
/tmp/foo$ touch a/foo
/tmp/foo$ touch a/.baz
/tmp/foo$ cd ..
/tmp$ rsync -avP --exclude=a/* foo bar
sending incremental file list
created directory bar
foo/
foo/a/
sent 71 bytes received 20 bytes 182.00 bytes/sec
total size is 0 speedup is 0.00
/tmp$ ls -la bar
total 20
drwxr-xr-x 3 user user 4096 Jan 24 14:17 .
drwxrwxrwt 70 root