Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!oberon!buddha.usc.edu!rkumar From: rkumar@buddha.usc.edu Newsgroups: comp.unix.questions Subject: cleanup script needed Message-ID: <15659@oberon.USC.EDU> Date: 4 Mar 89 19:54:47 GMT Sender: news@oberon.USC.EDU Reply-To: rkumar@buddha.usc.edu () Organization: University of Southern California, Los Angeles, CA Lines: 20 This may be quite silly to the UNIX wizards. 1) Frequently I need to erase unnecessary files to save space. It would be nice to have a script which removes all the files with a specified extension, e.g., .dvi or .aux not only in the current directory, but in all the children directories recursively. Will rm -r *.dvi do the job? Since it is an "rm" command, I don't want to try it out ... 2) Sometimes I create a file in a directory which is deep down in a directory hierarchy. Any quick way to search for a file, given its name/template? Thanks Ravi --- :-) Pardon me, but UNIX *is* male chauvinistic. Look at all those *man* commands! --- :-(