-
-
Save kunato/0380c6769aeb6addfca7b3f362eeaed4 to your computer and use it in GitHub Desktop.
Revisions
-
Joost van Veen revised this gist
May 1, 2019 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,16 +2,16 @@ df -h # Get the top 10 biggest folders in the current directory du -h --max-depth=1 | sort -rh | head -10 # Get the top 10 biggest folders in the current directory and their first child directories du -h --max-depth=2 | sort -rh | head -10 # Get sizes of all folders in the current directory du -h --max-depth=2 | sort -rh # On Mac OSX max depth 1 du -hd1 | sort -rh | head -10 # On Mac OSX max depth 2 du -hd2 | sort -rh | head -10 -
Joost van Veen revised this gist
Oct 30, 2018 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ # Get available disk space df -h # Get the top 10 biggest folders in the current directory du -h --max-depth=1 | sort -rn | head -10 -
Joost van Veen revised this gist
Sep 24, 2018 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,4 +5,10 @@ du -h --max-depth=1 | sort -rn | head -10 du -h --max-depth=2 | sort -rn | head -10 # Get sizes of all folders in the current directory du -h --max-depth=2 | sort -rn # On Mac OSX max depth 1 du -hd1 | sort -rn | head -10 # On Mac OSX max depth 2 du -hd2 | sort -rn | head -10 -
Joost van Veen revised this gist
Sep 18, 2018 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1,8 @@ # Get the top 10 biggest folders in the current directory du -h --max-depth=1 | sort -rn | head -10 # Get the top 10 biggest folders in the current directory and their first child directories du -h --max-depth=2 | sort -rn | head -10 # Get sizes of all folders in the current directory du -h --max-depth=2 | sort -rn -
Joost van Veen revised this gist
Aug 2, 2016 . No changes.There are no files selected for viewing
-
Joost van Veen created this gist
Aug 2, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ du --max-depth=1 | sort -nr | cut -f2- | xargs du -hs