Last active
June 25, 2024 17:10
-
-
Save antespi/6199760 to your computer and use it in GitHub Desktop.
List first level directories inside a directory, sorted by size. Useful when your disk is full and you are searching something to erase or move elsewhere.
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 -k -d1 * | sort -nr | cut -f2 | xargs -d '\n' du -sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment