Displaying 1 result from an estimated 1 matches for "nzavmh".
Did you mean:
niamh
2011 Sep 13
1
protect rule prevents file sending when in merge filter file?
...want to copy from
'aaa' to 'bbb' any files which exist in 'aaa', but leave untouched any other
files in 'bbb'.
$ cd /tmp
$ mkdir aaa bbb aaa/x mkdir bbb/x
$ touch aaa/x/file aaa/file bbb/x/y
$ echo 'P /x/***' > my.rules
Expected behaviour:
$ rsync -nzavmH --delete-excluded -f '. my.rules' $PWD/aaa/ $PWD/bbb/
building file list ... done
./
file
x/file
sent 126 bytes received 38 bytes 328.00 bytes/sec
total size is 0 speedup is 0.00
Behaviour in rsync 3.0.6 / 3.0.9pre2:
$ rsync -nzavmH --delete-excluded -f '. my.rules' $PW...