Resolved Cannot delete file.

Discussion in 'Mac OS X Lion (10.7)' started by sludeking, Nov 6, 2011.

  1. sludeking, Nov 6, 2011
    Last edited: Nov 6, 2011

    sludeking macrumors newbie

    Joined:
    Sep 28, 2011
    #1
    Hi there,

    For some reason I can't delete a certain file.

    It's currently in the trash, but I can't empty it from the trash: normally or securely.

    Anyone able to help me out?
     

    Attached Files:

  2. stridemat Moderator

    stridemat

    Staff Member

    Joined:
    Apr 2, 2008
    Location:
    UK
    #2
    I had a very similar problem with a stubbon file. I followed these instructions and the file was no more.

     
  3. SandboxGeneral Moderator

    SandboxGeneral

    Staff Member

    Joined:
    Sep 8, 2010
    Location:
    Orbiting a G-type Main Sequence Star
    #3
    Wirelessly posted (iPhone 4S: Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3)

    -Open the Terminal application
    -Enter the following: sudo rm -rf (followed by a single space)
    -Open the Finder window that contains the file you want to delete, in this case, Trash.
    -Drag the file into the Terminal window. This will input the file's path to the command line.
    -When this is done press backspace ONCE to remove the space at the end of the line.
    -Press Enter.
    -Authenticate and the files should be removable.
     
  4. sludeking thread starter macrumors newbie

    Joined:
    Sep 28, 2011
    #4
    Thx guys. Your solutions didn't help, but via terminal I found out where the file was located.

    It was a bootcamp file in the .trashes folder. Don't know why I couldn't delete it, but booted into windows and found the file directly and deleted it there.
     

Share This Page