3 ms·
find-xargs combo could have been better. It also prevents the case where you cross arg max
by marcthe12 6y ago
find-xargs combo could have been better. It also prevents the case where you cross arg max
- enriquto 6y agoDefinitely! It is also much slower, though, especially if you need to add "-L 1". I prefer to try first that way, if the argument list is too long, then try xargs. On the other hand, the limitations on the command lenght of modern shells are idiotic. The only limitation should be the amount of available RAM, not an artificially imposed limit.