Size of current directory using command line terminal
Alec Jacobson
November 18, 2009
This is all over the internet, put to repost it here for redundancy and as a reference for myself. Here's how to print the size in a human readable format (-h
) of just the current directory (-s .
) using du
:
du -sh .