Last active
August 29, 2015 14:22
-
-
Save mikecmpbll/02cd008d092c3ec33954 to your computer and use it in GitHub Desktop.
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
du | awk '{ if ($1>1000*1024) { print $0 } }' | |
# prints out a whole bunch of directories bigger than 1000mb | |
du --max-depth=3 | awk '{ if ($1>1000*1024) { print $0 } }' | |
# just hangs with no output (i waited 5 mins) whereas .. | |
du --max-depth=3 | |
# immediately outputs directories which i can see are bigger than 1000mb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment