Displaying 1 result from an estimated 1 matches for "force_bug".
2009 Sep 23
4
DO NOT REPLY [Bug 6752] New: --force option doesn't work as expected/documented
...nnot delete non-empty directory: s1/CVS
delete non-empty directory: s1/CVS
cannot delete non-empty directory: s1
which conflicts with the doc on --force. Googling this also brings up a number
of others with the same problem. The source of the problem is the exclude
filter.
-------------------- force_bug.sh -----
#!/bin/csh
# Reproduction steps where --force doesn't force deletion.
rm -rf src dst
mkdir -p dst/s1/CVS
echo foo > dst/s1/CVS/Root
mkdir -p src/s2/foo.txt
rsync -az --filter='exclude, /**/CVS/Root' --filter='protect, /**/CVS/Root'
--fo
rce --delete --delete-exc...