rsync doesn't delete unreferenced directories.
Steve Sether
vellmont at mailhaven.com
Tue Nov 2 03:30:10 GMT 2004
I'm using rsync to backup multiple directories, i.e.
rsync -azq --delete --relative /dog /cat /fish user at rsync-server::modulename
Everything works fine, except if I remove a directory from the list of
those being backed
up, it isn't deleted on the other side. For example:
rsync -azq --delete --relative /dog /cat /fish user at rsync-server::modulename
/dog /cat /fish are all backed up to the remote server.
rsync -azq --delete --relative /dog /cat user at rsync-server::modulename
/dog and /cat are backed up, /fish isn't deleted.
I realize this behaviour is probbably by design but is there a way to
get rsync to
delete directories no longer being backed up?
More information about the rsync
mailing list