recursively deleting *.dvi files

Rouben Rostamian rouben at math9.math.umbc.edu
Sat Oct 20 11:39:54 AEST 1990


In article <41724 at eerie.acsu.Buffalo.EDU> haozhou at acsu.buffalo.edu (hao zhou) writes:
 >I want to write some script for deleting *.dvi files recursively in
 >all my subdirectories but I haven't got any idea yet. Can somebody
 >shed some light on this?
 >

Not need for a script.  To delete *.dvi files in the current directory 
and all its subdirectories, do:

    find . -name '*.dvi' -print | xargs rm

--



More information about the Comp.unix.shell mailing list