du -h [directory] --max-depth=1
du -h: Displayed in easy-to-read units according to size
du --max-depth = 1: Subdirectories in the directory are not displayed (Note that you can do Linux with du -d, but not macOS)
Recommended Posts