how to delete *~ files created by rsync
Hello
i did some "rsync -avb dir1 dir2" and now on the destination directory there are some backupe files that end with ~ so i have twice some files on the destination dir my question is : how to erase all the files that end with ~ automatically? I tried with "rm -rf *~" but it didn't work thanks for the help |
Code:
rm -f ./*~ |
Quote:
It's strange... |
WFM
Code:
alucard@karrde:/tmp$ touch a~ |
Try deleting it based on the inode number
Code:
[twantrd@twantrd test]$ ls -i * -twantrd |
i managed to do it using "rsync -avz --delete dirsource dirdest"
|
All times are GMT -5. The time now is 10:46 AM. |