Created
December 17, 2010 17:13
-
-
Save rnelson/745294 to your computer and use it in GitHub Desktop.
Aliases to find directory sizes
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
alias ds="find -maxdepth 1 -type d -path '.\/*' -exec du -sh {} \;" | |
alias sds="sudo find -maxdepth 1 -type d -path '.\/*' -exec du -sh {} \;" | |
alias dsg="find -maxdepth 1 -type d -path '.\/*' -exec du -sh {} \; | grep " | |
alias sdsg="sudo find -maxdepth 1 -type d -path '.\/*' -exec du -sh {} \; | grep " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment