recursively deleting *.dvi files

Sean Fulton sean at utodaycom
Mon Oct 22 01:10:18 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?
>

Try:
	find . -name `*.dvi` -print -exec rm -f {} \;


-- 
Sean Fulton					sean at utoday.com
UNIX Today!					(516) 562-5430
 /* The opinions expressed above are not those of my employer */



More information about the Comp.unix.shell mailing list