Shell script to remove backup ~ files
Not sure if this would be a combination of grep and rm, but I'd like to be able to run a script that scans all files in a directory and any directory under it to remove backup files.
ie. index.html~ or filename.txt~ - anything with a ~ as the last character ...
Any help on this shell script would be much appreciated.
Thanks.
|