[comp.unix.questions] Re : cleanup script needed

rkumar@buddha.usc.edu (03/06/89)

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 
----------------------------------------------------------------