Does rsync delete files from the destination if they were deleted from the source?
For example, say in the source /home/me I have three files:
Now, I run the command
rsync -v /home/me/ [email protected]:/home/backup and it copies files
The contents of
/home/backup are now
If I were to delete
a.txt get deleted from
/home/backup the next time I run rsync, is there an option I need to specify or is it just completely impossible?
If there are any alternatives to rsync that do this, they are welcome as well.