I can recreate my system from backup in
Seconds Minutes Hours Days Weeks Never tested Never backed up ( 477 votes ~ 6 comments )
You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.
To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.
This is the comment you were replying to, attached to the weblog A way to list folder size
#4 Re: A way to list folder size Posted by w1d3 (85.145.xx.xx) on Tue 13 Mar 2007 at 14:57 Hi, I often use du with -s switch: du -sh for getting the size of whole directory, du -sh * for listing also file and 1st level directory sizes.. in this way you can use du -sh */ for your purpose. The drawback is that it doesn't list hidden files and directories.. but you can use it when you are sure that there aren't any in the directory :) And the last one, often used by me: du -sk * | sort -n
du -sh
du -sh *
du -sh */
du -sk * | sort -n
Posting Format:
Inappropriate comments will be removed.
Some help on entry formatting is available
Username:
Password:
[ Advanced Login ]
Register Account