cleanup script needed
Root Boy Jim
rbj at dsys.icst.nbs.gov
Wed Apr 5 00:42:17 AEST 1989
? From: David Haynes <david at torsqnt.uucp>
? Date: 6 Mar 89 00:22:17 GMT
? In article <9793 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
? :In article <15659 at oberon.USC.EDU> rkumar at buddha.usc.edu () writes:
? :>Will rm -r *.dvi do the job?
? :
? :No, try "find . -name '*.dvi' -print | xargs rm".
? :
? Why not, "find . -type f -name '*.dvi' -exec rm {} \;" ?
? -david-
As has been pointed out, the xargs version is much better. However, in
our never ending search for creeping featurism, perhaps it is time to
add `-rm' to the list of find options. We already have `-ls'.
Catman Rshd <rbj at nav.icst.nbs.gov>
Author of "The Daemonic Versions"
More information about the Comp.unix.questions
mailing list