From: jfc@mit.edu (John F Carr)
Subject: Re: Deleting many files with rm
Date: 2000/08/06 [thread overview]
Message-ID: <398deee3$0$9431@senator-bedfellow.mit.edu> (raw)
In-Reply-To: Pine.LNX.4.21.0008061721000.30968-100000@uranos.quantum.physik.uni-potsdam.de
In article <Pine.LNX.4.21.0008061721000.30968-100000@uranos.quantum.physik.uni-potsdam.de>,
Timo Felbinger <Timo.Felbinger@quantum.physik.uni-potsdam.de> wrote:
>>
>> This is likely to take much longer than:
>>
>> find . -type f -print | xargs rm
>
>And in what sense is this better than a simple rm * ? Stuffing
>all args into a single call to rm will hit exactly the same O/S
>limits the original poster wanted to avoid.
xargs knows the maximum argument list size, and will run its command
several times if it is necessary to split the input list.
--
John Carr (jfc@mit.edu)
next prev parent reply other threads:[~2000-08-06 4:00 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 [this message]
2000-08-07 4:00 ` Timo Felbinger
2000-08-17 4:33 ` Josef Faulkner
2000-08-18 0:45 ` Richard M. Alderson III
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