Last active
June 21, 2024 04:22
Revisions
-
Andrew revised this gist
Jun 21, 2024 . 1 changed file with 4 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 @@ -6,6 +6,10 @@ Directories: `du -hd 1 | sort -h` Requires GNU coreutils (e.g., macOS users can run `brew install coreutils`). # macOS Navigate to `System Settings` -> `Storage`. # Windows Files and Directories: `ls | select Name,@{n="Length"; e={[long](ls $_ -file -rec | measure Length -sum | % Sum)}} | sort Length -d }` -
Andrew revised this gist
Jun 21, 2024 . 1 changed file with 5 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 @@ -14,4 +14,8 @@ Or navigate to `Settings` -> `Storage` -> `Other`. # Android Navigate to `Files` -> `Clean`. # iOS / iPadOS Navigate to `Settings` -> `General` -> `Storage`. -
Andrew revised this gist
Jun 21, 2024 . 1 changed file with 5 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 @@ -10,4 +10,8 @@ Requires GNU coreutils (e.g., macOS users can run `brew install coreutils`). Files and Directories: `ls | select Name,@{n="Length"; e={[long](ls $_ -file -rec | measure Length -sum | % Sum)}} | sort Length -d }` Or navigate to `Settings` -> `Storage` -> `Other`. # Android Navigate to `Files` -> `Clean`. -
Andrew revised this gist
Jun 20, 2024 . 1 changed file with 3 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 @@ -8,4 +8,6 @@ Requires GNU coreutils (e.g., macOS users can run `brew install coreutils`). # Windows Files and Directories: `ls | select Name,@{n="Length"; e={[long](ls $_ -file -rec | measure Length -sum | % Sum)}} | sort Length -d }` Or navigate to `Settings` -> `Storage` -> `Other`. -
Andrew revised this gist
May 9, 2021 . 1 changed file with 2 additions and 2 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,8 +1,8 @@ # UNIX Files: `ls -lSh | tac` Directories: `du -hd 1 | sort -h` Requires GNU coreutils (e.g., macOS users can run `brew install coreutils`). -
Andrew renamed this gist
May 9, 2021 . 1 changed file with 2 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,5 @@ # UNIX Files: `ls -lSh | gtac` Directories: `du -hd 1 | gsort -h` -
Andrew Pennebaker revised this gist
Sep 7, 2018 . 1 changed file with 3 additions and 11 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,16 +1,8 @@ Files: `ls -lSh | gtac` Directories: `du -hd 1 | gsort -h` Requires GNU coreutils (e.g., macOS users can run `brew install coreutils`). # Windows -
Andrew Pennebaker revised this gist
Sep 7, 2018 . 1 changed file with 2 additions and 2 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 @@ -8,9 +8,9 @@ Directories: `du -hd 1 | sort -h` Requires coreutils (`brew install coreutils`). Files: `ls -lSh | gtac` Directories: `du -hd 1 . | gsort -h` # Windows -
Andrew Pennebaker revised this gist
Aug 17, 2018 . No changes.There are no files selected for viewing
-
Andrew Pennebaker revised this gist
Sep 20, 2016 . 1 changed file with 13 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,5 +1,17 @@ # Unix/Linux Files: `ls -lSh | tac` Directories: `du -hd 1 | sort -h` # Mac OS Requires coreutils (`brew install coreutils`). Files: `du -hd 1 . | gsort -h` Directories: `ls -lSh | gtac` # Windows Files and Directories: `ls | select Name,@{n="Length"; e={[long](ls $_ -file -rec | measure Length -sum | % Sum)}} | sort Length -d }` -
Andrew Pennebaker revised this gist
Jun 10, 2016 . 1 changed file with 3 additions and 17 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,19 +1,5 @@ Files: `ls -lSh | tac` Directories: `du -hd 1 | sort -h` Mac users can: `brew install coreutils ; du -hd 1 . | gsort -h; ls -lSh | gtac` -
Andrew Pennebaker revised this gist
Dec 5, 2015 . 1 changed file with 7 additions and 6 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,9 @@ Files: ``` $ ls -lSh | tac ``` Directories: ``` @@ -9,10 +15,5 @@ Mac users can: ``` $ brew install coreutils $ du -hd 1 . | gsort -h $ ls -lSh | gtac ``` -
Andrew Pennebaker revised this gist
Nov 13, 2015 . 1 changed file with 1 addition 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 @@ -14,5 +14,5 @@ $ du -hd 1 . | gsort -h Files: ``` $ ls -lSh | tac ``` -
Andrew Pennebaker revised this gist
Nov 13, 2015 . 1 changed file with 2 additions and 2 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,10 +1,10 @@ Directories: ``` $ du -hd 1 | sort -h ``` Mac users can: ``` $ brew install coreutils -
Andrew Pennebaker revised this gist
Nov 11, 2015 . 1 changed file with 3 additions and 3 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,18 +1,18 @@ Directories: ``` $ du -h --max-depth 1 . | sort -h ``` Mac users can ``` $ brew install coreutils $ du -hd 1 . | gsort -h ``` Files: ``` $ ls -lSh ``` -
Andrew Pennebaker revised this gist
Nov 11, 2015 . 1 changed file with 1 addition 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 @@ -8,7 +8,7 @@ Mac users can ``` $ brew install coreutils $ du -h -d 1 <some-top-level-directory> | gsort -h ``` Files: -
Andrew Pennebaker revised this gist
Nov 11, 2015 . 1 changed file with 6 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 @@ -4,7 +4,12 @@ Directories: $ du -h -d 1 <some-top-level-directory> | sort -h ``` Mac users can ``` $ brew install coreutils $ du -h -d 1 <some-top-level-directory> 2>/dev/null | gsort -h ``` Files: -
Andrew Pennebaker revised this gist
Nov 11, 2015 . 1 changed file with 2 additions and 2 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,10 +1,10 @@ Directories: ``` $ du -h -d 1 <some-top-level-directory> | sort -h ``` Mac users can `brew install coreutils; du -h -d 1 <some-top-level-directory> 2>/dev/null | gsort -h` Files: -
Andrew Pennebaker revised this gist
Nov 11, 2015 . 1 changed file with 2 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 @@ -4,6 +4,8 @@ Directories: $ du -h --max-depth=1 <some-top-level-directory> | sort -h ``` Mac users can `brew install coreutils; du -h <some-top-level-directory> 2>/dev/null | gsort -h` Files: ``` -
Andrew Pennebaker revised this gist
Nov 2, 2015 . 1 changed file with 1 addition 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 @@ -7,5 +7,5 @@ $ du -h --max-depth=1 <some-top-level-directory> | sort -h Files: ``` $ ls -lSh <some-top-level-directory> ``` -
Andrew Pennebaker renamed this gist
Nov 2, 2015 . 1 changed file with 8 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,11 @@ Directories: ``` $ du -h --max-depth=1 <some-top-level-directory> | sort -h ``` Files: ``` $ ls -lSh ``` -
Andrew Pennebaker revised this gist
Nov 1, 2015 . 1 changed file with 1 addition 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,3 +1,3 @@ ``` $ du -h --max-depth=1 <some-top-level-directory> | sort -h ``` -
Andrew Pennebaker created this gist
Nov 1, 2015 .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,3 @@ ``` $ du -h --max-depth=1 . | sort -h ```