Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dross

macrumors regular
Original poster
Sep 13, 2004
148
0
Bethesda, MD
I am trying to see what is eating up all my disk space. Any one have any good ideas of how to search throug it.

I thought about trying:

find $1 -type d | xargs du -sm | sort -g

Some one said try: du -sm $(find $1 -type d -maxdepth 1 -xdev) | sort -g but I could not get it to work.

I tried:find / -size +10000000 -print but only got "primissions denied on a bunch of folders.

Any other sugestions?
 

dross

macrumors regular
Original poster
Sep 13, 2004
148
0
Bethesda, MD
kingjr3 said:
Code:
sudo find / -size +10000000 -print

then enter your login password.

OK I am a bone head but how would I do that? Do I put it right in the line of code?
 

jeremy.king

macrumors 603
Jul 23, 2002
5,479
1
Holly Springs, NC
I just put it in a code tag to format it with fixed width font.

You can copy that line and paste into terminal and you shouldn't get any permission denied errors.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.