Locating Large Files

Discussion in 'Macintosh Computers' started by dross, Dec 22, 2004.

  1. macrumors regular

    dross

    Joined:
    Sep 13, 2004
    Location:
    Bethesda, MD
    #1
    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?
     
  2. macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #2
    Code:
    sudo find / -size +10000000 -print
    then enter your login password.
     
  3. thread starter macrumors regular

    dross

    Joined:
    Sep 13, 2004
    Location:
    Bethesda, MD
    #3
    OK I am a bone head but how would I do that? Do I put it right in the line of code?
     
  4. macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #4
    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.
     

Share This Page