Comment by theamk
8 days 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)
8 days 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)
`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.