Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!oberon!buddha.usc.edu!rkumar From: rkumar@buddha.usc.edu Newsgroups: comp.unix.questions Subject: Re : cleanup script needed Message-ID: <15677@oberon.USC.EDU> Date: 5 Mar 89 22:55:57 GMT Sender: news@oberon.USC.EDU Reply-To: rkumar@buddha.usc.edu () Distribution: usa Organization: University of Southern California, Los Angeles, CA Lines: 22 I requested for a cleanup script sometime back, and quite a lot of netters responded. Thanks to all of you. Here is the summary of what I learnt. the command find ~ -name '*.dvi' -print will print all files with .dvi extension under my home directory and the hierarchy below. find ~ -name '*.dvi' -exec rm -i {} \; will attempt deleting all the .dvi files in my home directory and the hierarchy below. Ravi ---------------------------------------------------------------- It is so easy to create history with UNIX : just set history = 1 ----------------------------------------------------------------