Created
July 17, 2014 13:41
-
-
Save hibernado/c245b2a29acc6081cb77 to your computer and use it in GitHub Desktop.
Space Taken up by files in a Directory
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 DIR -type f | | |
xargs stat --format=%s | | |
awk '{s+=$1} END {print s}' | |
OR | |
du -sbh DIR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment