How to use xargs with find - TechRepublic
Question
March 7, 2022 at 11:56 AM
meetups.frosted-0h

How to use xargs with find

by meetups.frosted-0h . Updated 4 years, 1 month ago

I have a large number of files on disk and trying to xargs with find to get faster output. find . -printf ‘%m %p\n’|sort -nr

If I write find . -printf ‘%m %p\n’|xargs -0 -P 0 sort -nr, it gives error argument line is too long. Removing -0 option gives other error.

All Comments