Displaying 1 result from an estimated 1 matches for "hyhtest2".
2006 Mar 28
1
can rsync delete only one file in one command? is it a bug?
...c
/D01/001.doc
/D01/003.doc
/D01/004.doc
/D01/D11/003.doc
/D02/003.doc
now, I want to only delete /003.doc when synchronization, no add, no update, This exclude works:
rsync -avzu --delete --include="/003.doc" --exclude="*" /home/tomcat/webapps/filesync/synsrc2/ 172.16.100.19::hyhtest2
But, If I want to only delete /D01/003.doc when synchronization, no add, no update, this exclude NOT works:
rsync -avzu --delete --include="/D01/003.doc" --exclude="*" /home/tomcat/webapps/filesync/synsrc2/ 172.16.100.19::hyhtest2
nothing was delete or add,update.
why it N...