26 Mar
2008
26 Mar
'08
20:21
Randall R Schulz wrote:
% find dirName(s) {findCriteria} -print0 |xargs -0 rm
By doing this, xargs essentially "batches up" maximal (w.r.t. the argument size limit) sets of file names and invokes rm only as many times as necessary.
Randall, that has got to be one of the coolest pieces of advice I've seen here. "man xargs" doesn't even mention it. /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org