Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1


    Member Since
    May 09, 2010
    Posts
    8
    Best way to force empty trash?
    I have a ton of files stuck in my trash bin, and I can't get it to empty. Several files are from a bunch of old backups that I no longer needed.

    I tried an app called Tra****!, but it's not working for me.

    Are there better suggestions out there to get this emptied.

    I am running OSX 10.6.8

    Thanks
    Mark

  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,742
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Open up Terminal and enter the following:
    Code:
    sudo rm -rf ~/.Trash/*
    Enter your password and voila.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3


    Member Since
    May 09, 2010
    Posts
    8
    do I have to restart the computer after I enter the code and my password?

  4. #4

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,742
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Nope. Execute that and your Trash will be empty.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5


    Member Since
    May 09, 2010
    Posts
    8
    It's still not working. I enter the code hit enter, enter my password hit enter. Go to empty trash and I still get the error code and the trash won't empty.

  6. #6

    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,380
    Specs:
    21" iMac 2.9Ghz 16GB RAM & 13"MBP 2.9Ghz i7 8GB RAM 10.10.3, iPhone5 & iPad Air 2 iOS 8.3, ATV3
    There is something not right here then, bc the Terminal command Vansmith gave you should of emptied the trash without you having to go there to empty it.

    Try this Shift-Command-Option-Delete as a 4 key combo after opening the trash window.

    Are you sure the files you are trying to trash don't have ANY system files in there what so ever ?? If you have one of those it might be stopping you emptying it.
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

  7. #7

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,742
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by stonecoldmark View Post
    It's still not working. I enter the code hit enter, enter my password hit enter. Go to empty trash and I still get the error code and the trash won't empty.
    That should have emptied the Trash. That command elevates the privileges and forces removal.

    What is the exact error message you're getting?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  8. #8


    Member Since
    May 09, 2010
    Posts
    8
    "The operation can’t be completed because an unexpected error occurred (error code -8003)."

  9. #9


    Member Since
    May 09, 2010
    Posts
    8
    Nothing is working, I think I am going to take it in to an Apple Store this weekend.

    Mark

  10. #10


    Member Since
    May 09, 2010
    Posts
    8
    I just made my appointment for Sunday.
    Thanks
    Mark

  11. #11

    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,380
    Specs:
    21" iMac 2.9Ghz 16GB RAM & 13"MBP 2.9Ghz i7 8GB RAM 10.10.3, iPhone5 & iPad Air 2 iOS 8.3, ATV3
    i found this

    Drag the file from your Trash bin to the Desktop.
    Launch a Terminal Go > Utilities > Terminal and type the following into the terminal window leaving a space after f:

    Code:
    cd ~/.Trash && sudo rm -rf


    Drag the file from your Desktop to the terminal window and then press Enter
    Enter your password when prompted and press Enter
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

  12. #12

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,742
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    That command is essentially the same thing.

    You don't need to "cd" to ~/.Trash if you're going to do the "sudo rm -rf" and drag file to Terminal method.

    OP: Where did you delete these files from?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  13. #13

    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,380
    Specs:
    21" iMac 2.9Ghz 16GB RAM & 13"MBP 2.9Ghz i7 8GB RAM 10.10.3, iPhone5 & iPad Air 2 iOS 8.3, ATV3
    Quote Originally Posted by vansmith View Post
    That command is essentially the same thing.

    You don't need to "cd" to ~/.Trash if you're going to do the "sudo rm -rf" and drag file to Terminal method.
    Yea well I'm not the resident nerd/geek around here so didn't know the difference. I thought it different as it asked to drag it to the desktop 1st. Im glad you pulled me up on that one vansmith

    Cheers
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

  14. #14

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,742
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by TattooedMac View Post
    Yea well I'm not the resident nerd/geek around here so didn't know the difference. I thought it different as it asked to drag it to the desktop 1st. Im glad you pulled me up on that one vansmith

    Cheers
    Haha, it's what I do best my good man.

    If you're interested, your command set the Terminal prompt to work out of the .Trash directory (cd = change directory). The sudo bit executes the command with elevated privileges, rm removes it and -rf tells "rm" to remove the files recursively and to force it. Your friendly Unix tip of the day.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  15. #15

    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,380
    Specs:
    21" iMac 2.9Ghz 16GB RAM & 13"MBP 2.9Ghz i7 8GB RAM 10.10.3, iPhone5 & iPad Air 2 iOS 8.3, ATV3
    Quote Originally Posted by vansmith View Post
    Haha, it's what I do best my good man.

    If you're interested, your command set the Terminal prompt to work out of the .Trash directory (cd = change directory). The sudo bit executes the command with elevated privileges, rm removes it and -rf tells "rm" to remove the files recursively and to force it. Your friendly Unix tip of the day.
    Ill be expecting them to continue to Professor . . . . *bows*

    But in all sincerity i appreciate the lesson
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 04-21-2013, 09:11 AM
  2. Secure Empty Trash + Empty Free Space
    By Daragon in forum OS X - Operating System
    Replies: 1
    Last Post: 12-03-2012, 12:46 AM
  3. Can't Empty or Secure Empty Trash
    By leopard-user1 in forum OS X - Operating System
    Replies: 15
    Last Post: 12-07-2010, 03:32 PM
  4. help with force trash issue
    By koban4max in forum OS X - Operating System
    Replies: 0
    Last Post: 09-28-2010, 03:44 AM
  5. The difference between secure empty and just empty trash?
    By stevo-m in forum OS X - Operating System
    Replies: 10
    Last Post: 09-07-2007, 09:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •