[NTLUG:Discuss] Removing lots of Files - help.
Greg Edwards
greg at nas-inet.com
Mon Apr 7 12:45:20 CDT 2003
Bobby Sanders wrote:
> I want to remove all of the files on my system which end in tilde, ~.
> I'm running bash, know this should be easy, have read lots of
> Cameron's book, which I love, but can't put my finger on this.
>
> Help please. Thanks.
>
> Bobby Sanders
>
Here's 2 aliases I use. These get both normal and hidden files.
alias clrbak='rm -f *~;rm -f .*~'
alias clrallbak='find . -name "*~" -exec rm -f "{}" ";"; find . -name
".*~" -exec rm -f "{}" ";"'
--
Greg Edwards
New Age Software, Inc. - http://www.nas-inet.com
======================================================
Galactic Outlaw - http://goutlaw.nas-inet.com
The ultimate cyberspace adventure!
More information about the Discuss
mailing list