Skip navigation
This discussion is archived

mac wont empty trash

2496 Views 16 Replies Latest reply: Jul 22, 2008 11:47 PM by Alexander Price RSS
1 2 Previous Next
yanivmuller Calculating status...
Currently Being Moderated
Jul 12, 2008 7:59 AM
i cant empty my trash, when i click empty trash or empty securely the computer makes the sound associated with empting the trash but it doesn't. there is no message and the trash remains full. trying to empty single files or directories didn't work either. my trash has got close to 30 giga of information on it and its hindering my work hlp plz
macbook air, Mac OS X (10.5.4)
  • V.K. Level 9 Level 9 (56,120 points)
    Currently Being Moderated
    Jul 12, 2008 8:25 AM (in response to yanivmuller)
    first, please don't try to use "secure empty trash" on 30GB of data. that will take absolutely forever. try holding the option key when emptying trash. also, is any of the stuff you are erasing was trashed from an external drive?
    Mac Pro 3.2 GHz, Mac OS X (10.5.3), Mac Pro 2.66GHz, powerbook G4 1.5GHz
  • V.K. Level 9 Level 9 (56,120 points)
    Currently Being Moderated
    Jul 12, 2008 8:49 AM (in response to yanivmuller)
    the last command removes flags on staff in Trash it doesn't empty trash.

    try the following terminal command


    sudo rm -rf ~/.Trash/*

    make sure you copy it correctly. this should delete anything in trash but it will take a long time because your Trash is so huge.
    Mac Pro 3.2 GHz, Mac OS X (10.5.3), Mac Pro 2.66GHz, powerbook G4 1.5GHz
  • V.K. Level 9 Level 9 (56,120 points)
    Currently Being Moderated
    Jul 12, 2008 9:04 AM (in response to yanivmuller)
    never seen this one.

    let's chack that your rm works normally

    enter this


    mkdir testfolder

    rm -r testfolder

    this will create a folder "testfolder" in your home directory and then remove it with rm. any feedback?
    Mac Pro 3.2 GHz, Mac OS X (10.5.3), Mac Pro 2.66GHz, powerbook G4 1.5GHz
  • V.K. Level 9 Level 9 (56,120 points)
    Currently Being Moderated
    Jul 12, 2008 9:11 AM (in response to yanivmuller)
    then something is wrong with the contents of your trash. do you have some files/folders in there with weird characters in their names? also start disk utility and run "verify disk" on your main hard drive.
    Mac Pro 3.2 GHz, Mac OS X (10.5.3), Mac Pro 2.66GHz, powerbook G4 1.5GHz
  • V.K. Level 9 Level 9 (56,120 points)
    Currently Being Moderated
    Jul 12, 2008 9:21 AM (in response to yanivmuller)
    that file is owned by root with some mighty weird permissions. let's try this then

    sudo chmod -R 777 testfolder

    this will make everything in the testfolder read/write by everyone.

    then run

    sudo rm -rf testfolder


    see if that deletes it. (-f option makes it not ask for confirmation with every file).
    Mac Pro 3.2 GHz, Mac OS X (10.5.3), Mac Pro 2.66GHz, powerbook G4 1.5GHz
  • macjack Level 9 Level 9 (50,445 points)
    Currently Being Moderated
    Jul 12, 2008 9:23 AM (in response to V.K.)
    maybe try without the trailing backslash?


    sudo rm -rf ~/.Trash




    That command should wipe out the trash and rebuild it without having to delete through it.



    -mj
    iMac 24" 2.16 GHz 3GB RAM, Mac OS X (10.5.4), iMac G4 17" 800 MHz 768MB/ iMac 333MHz 256 MB / LaCie d2s/ APC-UPS
  • V.K. Level 9 Level 9 (56,120 points)
    Currently Being Moderated
    Jul 12, 2008 9:27 AM (in response to macjack)
    i originally gave it as

    sudo rm -rf ~/.Trash/*


    (see my post). The * disappeared in OP's reply because of the forum formatting rules. I think the problem might be that that file mentioned in his last post is owned by root and does not have write permissions by anybody.
    Mac Pro 3.2 GHz, Mac OS X (10.5.3), Mac Pro 2.66GHz, powerbook G4 1.5GHz
  • V.K. Level 9 Level 9 (56,120 points)
    Currently Being Moderated
    Jul 12, 2008 9:57 AM (in response to yanivmuller)
    no, leopard is most definitely doesn't use any .dmg files. those are archived files that need to be mounted before they can be used. they are usually archives downloaded by you when you had to install something. once you install whatever it is (like your divx) you can unmount the .dmg disk images and delete them.
    make sure you don't need any of them yourself and delete them.
    Mac Pro 3.2 GHz, Mac OS X (10.5.3), Mac Pro 2.66GHz, powerbook G4 1.5GHz
1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.