Created
February 13, 2012 14:24
-
-
Save riovv/1817251 to your computer and use it in GitHub Desktop.
Find large files on linux
This file contains hidden or 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 files > 20MB | |
find . -type f -size +20000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }' | |
# Find directories >= 1GB | |
du -h . | grep ^[0-9.]*G |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment