[NTLUG:Discuss] Removing lots of Files - help.

Victor Brilon victor at vail.net
Sun Apr 6 13:52:09 CDT 2003


find /full/path/to/dir -name '*~' -exec rm -i {} \;

Obviously change the path to be the full path to where you want to start 
looking. And get rid of the '-i' if you're feeling brave and don't want 
confirmation of every file you nuke :)

Victor

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
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 




More information about the Discuss mailing list