Created
January 7, 2011 14:41
-
-
Save diogomonica/769525 to your computer and use it in GitHub Desktop.
Finds all files bigger than 20m in a linux system, presenting them from Biggest to smallest (including full path and actual size)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find / -type f -size +20000k -exec ls -lh {} \; 2> /dev/null | awk '{ print $NF ": " $5 }' | sort -nrk 2,2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment