RE: deleting specific files
On 23-Mar-2001 Marcelo Chiapparini wrote:
> 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)
>
'find' is your friend.
find . -name "*.doc" -print # start in this directory and recurse all subdirs
Reply to: