Searching for specific files then delete them

Dieter Schicker dieter.schicker at uni-graz.at
Tue Aug 29 11:01:47 UTC 2006


On Tue, 2006-08-29 at 13:29 +0300, OOzy Pal wrote:
> How can I search for specific files then delete them. I tried this but
> no it did not work
> 
> find -name *~|rm
> 
> -- 
> OOzy
> Kubuntu-Dapper
> 

find . -name *~ | xargs rm

Dieter




More information about the ubuntu-users mailing list