2 ms·
Indeed. With zsh (and I guess more recent bash's), a lot of find is no longer necessary. The real nugget in there is using xargs AT ALL. A lot of people don'
by michaelcampbell 16y ago
Indeed. With zsh (and I guess more recent bash's), a lot of find is no longer necessary.
The real nugget in there is using xargs AT ALL. A lot of people don't know about it and continue with the -exec option of find. Which works fine still, but is horribly inefficient. Although to be fair, I haven't found this inefficiency to be even measurable (in real time-wasted units) unless the process being exec'd is slow to start.