Created
June 19, 2015 03:32
-
-
Save bellcliff/307cf637fcf62b7cd343 to your computer and use it in GitHub Desktop.
list disk usage of subfolder
This file contains hidden or 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
| # suppose ls -l will show content like below | |
| # drwxr-xr-x 8 yangb staff 272 Apr 17 16:21 output | |
| # -rw-r--r-- 1 yangb staff 13925 Apr 17 15:15 post.py | |
| ls -l | awk '{print $9}' | xargs du -sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment