Thursday, 25 April 2013

Find files larger than a certain size

Not rocket science, but useful, and want to have it handy here.

Find files larger than 1M in '.':

find . -type f -size +1000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

No comments:

Post a Comment

[off topic] Differences between running and cycling

 I'm a passionate runner, and always considered cycling as something fun, e.g. mountain-biking, but difficult to practice regularly. The...