find /dir -name "*.doc" -exec rm -rf {} \;

Jason

> 
> Hi debianers!
> I need to delete a bunch of files, all of them of the form 
> *.doc, scattered 
> into several subdirectories inside a given directory. What 
> should I do?
> (a couple of month ago I posted a similar email, but 
> unfortunatly I deleted 
> the very clever answer by accident. I surfed the archives, 
> but without success)
> 
> Thanks in advance for the help
> 
> Marcelo 
> 
> -- 
> Marcelo Chiapparini
> DFT-IF/UERJ
> [EMAIL PROTECTED]
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 

Reply via email to