cleanup script needed

rkumar at buddha.usc.edu rkumar at buddha.usc.edu
Mon Mar 6 08:55:57 AEST 1989


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



More information about the Comp.unix.questions mailing list