Created
July 18, 2024 10:00
-
-
Save jeansymolanza/e64664c942db8b2b2f45865d77d0beef to your computer and use it in GitHub Desktop.
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
for dir in /path/to/directory/*; do [ -d "$dir" ] && echo "Folder: $dir" && echo "Size: $(du -sh "$dir" | awk '{print $1}')"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment