not deleting from the root

Mike Zupan hijinks at gmail.com
Fri May 13 13:13:42 GMT 2005


I have a bit of an issue with rsync. I am using to keep directories in
sync via another server for backup.

Here is the server config
[w1]
path = /w1
comment = w1 web dir
[w2]
path = /w2
comment = w2 web dir

Now on the client i run this command

rsync -avv --delete --force domain.com::w1/ /w1/

It will NOT delete anything that is no on the server anymore.. for
example on the server/client there is a /w1/apache/test.txt file if i
remove it on the server it will not be removed from the client.. but
if i run


rsync -avv --delete --force domain.com::w1/apache/ /w1/apache/

I'm stumped to why that works.. but the one above doesn't

Mike
-- 
http://www.zcentric.com/wiki
My Linux Howto/Tips Wiki


More information about the rsync mailing list