rsync not deleting files on target
Hi all, I'm using the command below to sync two directories. Problem is insted of deleting the files on the target directory it simply appends a ~ character at the end of the file name. Not sure why this is happening?
I'd like to have all deletes on the source replicated on target.
The source file had a file called test /home/test.txt which I've deleted.
rsync -havub --delete /home/ /backup/home/
Ran the sync again.
The target now has a file called /backup/home/test.txt~
Any help is appreciated.