du -s *|sort -hr|cut -f 2-|while read a;do du -hs $a;done
- get sorted sizes of all subdirectories
Last active
October 15, 2022 11:53
-
-
Save vistar/c5ae6bc7335d87a2e69383b16eaeadd9 to your computer and use it in GitHub Desktop.
Linux Recipes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment