Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!sunc.osc.edu!malgudi!caen!uakari.primate.wisc.edu!aplcen!haven!umbc3!math9.math.umbc.edu!rouben From: rouben@math9.math.umbc.edu (Rouben Rostamian) Newsgroups: comp.unix.shell Subject: Re: recursively deleting *.dvi files Message-ID: <4196@umbc3.UMBC.EDU> Date: 20 Oct 90 01:39:54 GMT References: <41724@eerie.acsu.Buffalo.EDU> Sender: newspost@umbc3.UMBC.EDU Reply-To: rouben@math9.math.umbc.edu.UUCP (Rouben Rostamian) Organization: Mathematics Department University of Maryland, Baltimore County Lines: 12 In article <41724@eerie.acsu.Buffalo.EDU> haozhou@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 --