Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.unix.questions Subject: Re: cleanup script needed Message-ID: <9802@smoke.BRL.MIL> Date: 6 Mar 89 12:46:04 GMT References: <15659@oberon.USC.EDU> <9793@smoke.BRL.MIL> <80@torsqnt.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <80@torsqnt.UUCP> david@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.)