10 ms·
I agree. I have no idea how to use `find`. I always do `find . | grep whatever`, since I know the basics of grep.
by tomp 14y ago
I agree. I have no idea how to use `find`. I always do `find . | grep whatever`, since I know the basics of grep.
- Dobbs 14y agoLearning find is a worthy investment. find ./ -name "*.log" -size +2G -ctime +3 | xargs -P 8 gzip Will find all log files over 2 gigs and older than 3 days. Then it will gzip them split across 8 parallel gzip processes.