3 ms·
xargs passes many inputs to one script invocation, so even with a single thread there is often a dramatic speedup. (and agree re -print0/-0, it's absolutely es
by theamk 2y ago
xargs passes many inputs to one script invocation, so even with a single thread there is often a dramatic speedup.
(and agree re -print0/-0, it's absolutely essential)
- asicsp 2y ago`find` can do that as well with `{} +` (at least, the `GNU` implementation and it'll automatically add more invocations if there are just way too many files). In any case, OP was using `-n1` which means one file per invocation.