Jump to content

Find large files in a OSX or Linux


Recommended Posts

  • Administrators

Sometimes it can be a bloody hell to find out whats eating up storage space on a linux machine...

Try this one out....


# find / -type f -size +20000k -exec ls -lh {} \; 2> /dev/null | awk '{ print $NF ": " $5 }' | sort -nrk 2,2


It will give you a list of files larger than 20mb, sorted by size... Enjoy!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
  • Create New...