rsync not delete non existing files on remote server
i need to synchronise files from server1 to server2.
but if i delete some files on server1, after rsync-ing they are not deleted from server2.
i'm using next syntax:
rsync -avz --delete /home/john/server1/* remote.server:/home/john/files/
can you help me where i'm wrong?
thank you in advance!
What happens if you try
that's it! i just removed * after dir name, and it deletes files!
|All times are GMT -5. The time now is 11:40 PM.|