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 }'

It's not a sprint

You’ve surely heard at least once in your life somebody saying “Calm down: it’s not a sprint, it’s a marathon”. People use this phrase to tr...