folder size mac terminal code example Example: terminal list with folder dimension $ du -sh */ 788K foo/ 500K bar/ 931K baz/