View Single Post
Posts: 4 | Thanked: 0 times | Joined on Nov 2012
#5
Originally Posted by thedead1440 View Post
I was finding how to do a sort and using ajalkane's commands above you can do:

Code:
 du -sm /opt/ -d 1 | sort -nr
this would give you the size in MB of 1 level down in opt of the directories sorted from largest to smallest... You can replace the "1" in the command above if you want to increase the depth or you can take out "-d 1" so it will give you the breakdown of all sub-directories...


Edit: You can replace "-sm" with "-sk" to give you the size of directories in KB instead of MB...
Thanks a lot for the answers! I'm afraid I'm going to need to ask you to dumb it down a little bit for me, I'm not really a technical person... I mean, I can figure it out once I get the code into the right place, but I didn't catch what you meant by "terminal". I tried running that command on the DOS command prompt while the phone was connected in mass storage mode, but all I got was that the command was not valid.

Thanks for the patience