Displaying 1 result from an estimated 1 matches for "266487d4".
Did you mean:
266.4874
2019 Aug 07
1
difference in behaviour of --filter --delete: cmdline vs. file
Hello,
I want to avoid transferring a file which is present both on the source
tree and on the target tree when calling rsync with -a --delete.
mkdir -pv src/ dst/
echo file1 > src/file
echo file2 > dst/file
rsync -navi --delete --exclude file src/ dst/
works as expected. The file is not transferred nor is it deleted at
the receiver.
rsync -navi --delete --filter '- file' src/