Created
July 26, 2018 09:02
-
-
Save taikedz/035ea8d4c245b34f8acc1725f8a58fba to your computer and use it in GitHub Desktop.
Sizes in root folder
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
folders=() | |
while read f; do | |
folders+=("/$f") | |
done < <(ls /|grep -v -P 'run|dev|proc') | |
sudo du -sh "${folders[@]}"|sort -h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment