cleanup script needed

Doug Gwyn gwyn at smoke.BRL.MIL
Mon Mar 6 22:46:04 AEST 1989


In article <80 at torsqnt.UUCP> david at torsqnt.UUCP (David Haynes) writes:
>Why not, 	"find . -type f -name '*.dvi' -exec rm {} \;" 	?

>From the context of his question, the "-type f" seemed unnecessary.
The reason for using xargs instead of -exec is to make the command
finish in less time.  (I know BSD systems often don't have xargs,
but presumably one could use the "apply" utility instead.)



More information about the Comp.unix.questions mailing list