sh scripting question
John Levine
johnl at iecc.com
Mon Oct 19 00:34:42 UTC 2020
In article <20201018155812796938832 at bob.proulx.com> you write:
>> Sometimes that's better, sometimes not. I have find scripts that delete
>> stale files, and it is a lot faster to use xargs to run "rm" once for
>> each thousand files than once per file.
> -exec utility [argument ...] {} +
> Same as -exec, except that “{}” is replaced with as many
> pathnames as possible for each invocation of utility.
Oh, look at that. Worth a try.
R's,
John
--
Regards,
John Levine, johnl at taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly
More information about the freebsd-questions
mailing list