| It's More Fun to Compute ( @ 2007-09-16 14:57:00 |
List a total directory size.
Today I FINALLY learned a command line command that I have been trying to figure out for ages. I know to many of you this is probably VERY noobish stuff, but for me it was a nice little breakthrough. Funny it comes 4 years into my usage.
I store loads of stuff on my server and I often want to puTTY in and just get a quick size for a given folder. Today I discovered the "du" command. :)
Let say I want to see the size of my music folder:
If I want to see the various sizes of the folders within my music folder:
Tada! Let me know of other, better ways to do this.
Hope this helps someone.
Today I FINALLY learned a command line command that I have been trying to figure out for ages. I know to many of you this is probably VERY noobish stuff, but for me it was a nice little breakthrough. Funny it comes 4 years into my usage.
I store loads of stuff on my server and I often want to puTTY in and just get a quick size for a given folder. Today I discovered the "du" command. :)
Let say I want to see the size of my music folder:
du -sh music
If I want to see the various sizes of the folders within my music folder:
du -h music
Tada! Let me know of other, better ways to do this.
Hope this helps someone.