Tuesday, 20 August 2013

Can I syncronize deletes with rsync?

Can I syncronize deletes with rsync?

I have a folder on server "A" called ./delete
I want to delete everything in folder ./stuff on server "B" that exists in
the ./delete folder on server "A".
Its like the reverse of rsync. instead of transferring files from
a:/delete to b:/stuff I want to just delete all the files that are in both
places on server "B".
like a --delete-on-destination flag or something.

No comments:

Post a Comment