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. |
find . -name '*~' -exec rm {} \;
|
Great, that works perfectly - thanks!
|
remove bakups
Hi there, i used tht ssh but seems nothing happen, where the error?
|
All times are GMT -5. The time now is 08:55 AM. |