Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: alderson@netcom2.netcom.com (Richard M. Alderson III)
Subject: Re: Deleting many files with rm
Date: 18 Aug 2000 00:45:34 GMT	[thread overview]
Message-ID: <ALDERSON.00Aug17174534@netcom2.netcom.com> (raw)
In-Reply-To: "Josef Faulkner"'s message of Thu, 17 Aug 2000 00:33:38 -0400

In article <spmqoh61r5j105@news.supernews.com> "Josef Faulkner"
<panther@gate.net> writes:

> ls -1 | awk '{ print "rm "$0 }' | sh

This runs into the same objection as the _find_ solution, to wit, a separate
invocation of _rm_ for each file.  _xargs_ is the correct solution.

Rich Alderson			Last LOTS Tops-20 Systems Programmer, 1984-1991
				Current maintainer, MIT TECO EMACS (v. 170)
last name @ XKL dot COM		Chief systems administrator, XKL LLC, 1998-now


  reply	other threads:[~2000-08-18  0:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-03  4:00 Deleting many files with rm andrew.rycroft
2000-08-03  4:00 ` Jeff Wilson
2000-08-03  4:00 ` Eckhardt Wallmeroth
2000-08-03  4:00   ` Tony Verhulst
2000-08-04  4:00   ` David Schmitt
2000-08-04  4:00 ` hin-tak.leung@bt.com
2000-08-04  4:00   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2000-08-06  4:00     ` Timo Felbinger
2000-08-06  4:00       ` John F Carr
2000-08-07  4:00         ` Timo Felbinger
2000-08-17  4:33 ` Josef Faulkner
2000-08-18  0:45   ` Richard M. Alderson III [this message]
2000-08-18  4:00     ` Tony Verhulst
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox