Trash Won't Empty

Discussion in 'macOS' started by strausd, Oct 19, 2012.

  1. strausd macrumors 68030

    Joined:
    Jul 11, 2008
    Location:
    Texas
    #1
    I have a folder in my trash that I can't delete. Tried logging out, tried restarting, tried option clicking, tried emptying securely, etc. I also tried just dragging the folder off to my desktop and then renaming, and then deleting. But when I try and drag it off, it drags off a copy and keeps the original folder in the trash every single time. I am able to empty the trash without any errors, and every time I hear the empty trash sound. However, when I try and empty the trash securely, I get this error message:
    The Finder can’t complete the operation because some data in “” can’t be read or written.
    (Error code -36)

    Any suggestions?
     
  2. Gregg2 macrumors 603

    Joined:
    May 22, 2008
    Location:
    Milwaukee, WI
    #2
    Option-drag to move rather than copy?
     
  3. strausd thread starter macrumors 68030

    Joined:
    Jul 11, 2008
    Location:
    Texas
    #3
    Option drag is to copy, regular drag doesn't copy. Both end up making a copy when dragging from the trash.
     
  4. steviewhy macrumors regular

    Joined:
    Oct 12, 2011
    #4
    Have you tried terminal? *Disclaimer* One wrong keystroke and you could wipe your system. Be sure to insert a trailing space after the code before dragging the problem file or folder on top of the terminal window.

    Code:
    rm -rf 
    add a blank space, then drag the file or folder from the trash to the terminal window and hit enter.

    Depending on your user account permission you may have to use sudo and provide an admin password to do it.

    Code:
    sudo rm -rf 
    add a blank space, then drag the file or folder from the trash to the terminal window and hit enter. Provide an admin password and hit enter again.
     
  5. strausd thread starter macrumors 68030

    Joined:
    Jul 11, 2008
    Location:
    Texas
    #5
    I am getting the same error for both. First it says input/output error, then directory not empty 3 times back to back to back. Still not workin :/
     
  6. steviewhy macrumors regular

    Joined:
    Oct 12, 2011
    #6
    Are you running Windows in Bootcamp at all? I recall this happening to me some years ago and it was initiated as a file corruption on the Bootcamp partition. I had to fire up Bootcamp in recovery mode and run chkdsk. It took forever because it was on a slow disk and a large partition but it resolved the problem.

    If you're not running Windows I'm out of ideas.
     
  7. Gregg2 macrumors 603

    Joined:
    May 22, 2008
    Location:
    Milwaukee, WI
    #7
    Yes, I know. But your regular drag was acting like option-drag...
     
  8. strausd thread starter macrumors 68030

    Joined:
    Jul 11, 2008
    Location:
    Texas
    #8
    I am actually. When I tried dragging the folder into terminal as mentioned above, it said the folder was in the .Trashes on my Bootcamp partition. So how exactly did you fix it?
     
  9. steviewhy macrumors regular

    Joined:
    Oct 12, 2011
    #9
    You can boot up into windows recovery mode or just boot into windows normally and start the command prompt as administrator. I'm guessing that you only have a C: drive. In the windows command prompt you'll need to type:
    chkdsk /r c:
    You'll get a warning that the drive is in use and would you like to schedule this on next restart. Answer y for Yes.
    Restart windows and let chkdsk do it's thing. This may take quite a while. Be patient and let it finish.
    This should fix the problem.
    You can check out this video for reference. The first 3 minutes or so are particularly relevant to you.
    http://www.youtube.com/watch?v=Es0VivQ_xQI
     

Share This Page