Deleting an "undeletable" file?

Discussion in 'macOS' started by Candide7, Feb 10, 2010.

  1. Candide7 macrumors newbie

    Joined:
    Nov 19, 2007
    #1
    So, I have an odd question. I'm on a MacBook, running OSX (whatever the latest version is...I think Snow Leopard). I downloaded an attachment from an email, and it was an excel spreadsheet for the newest version of Office, which I don't have. So I saved the file to my desktop, and then opened it. It automatically opened with Numbers. Apparently two files were downloaded, and I threw away/erased one file...but the other one (named "feb10 overnight for rds.xlsx.download") is apparently undeleteable. I can't move it to the trash, I can't re-name it, I can't move it to another folder. It's just stuck there, on my desktop. Immovable. I can't even open it, either.

    Has this ever happened to anybody? How would one go about deleting an undeletable file?
     
  2. Zortrium macrumors 6502

    Joined:
    Jun 23, 2003
    #2
    Use Terminal to rm -f the sucker. If that doesn't make sense, you'll do something like the following (carefully -- you don't want to delete stuff accidentally):

    Code:
    cd Desktop
    rm -f 'feb10 overnight for rds.xlsx.download'
     
  3. Denarius macrumors 6502a

    Denarius

    Joined:
    Feb 5, 2008
    Location:
    Gironde, France
    #3
    That will probably need to have sudo added to the start of the command.

    Another way would be to highlight the file, go to get info, go to sharing and permissions, add yourself to the file's permissions with read and write access then trash as normal.
     
  4. jzpearson macrumors newbie

    Joined:
    Jan 31, 2011
    #4
    similar problem

    I have an excel file named 5D951800 that recently showed up on my desktop. I do not know where it came from or how it got there. I can not open it, or 'get info' from it, delete it or even move it. Does anyone have any idea what this is, where it might have came from and how i can get rid of it? Thank you.
     
  5. cchrysos macrumors newbie

    Joined:
    Jan 22, 2012
    #5
    Reboot or Force Quit Finder

    If you reboot your machine or force quit Finder the file will be gone.
     
  6. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #6
    Like yours, jzpearson's post was their first and only post, a year ago, and they haven't been in the forum since then. You may want to check thread dates before responding.
     
  7. onefreehour macrumors newbie

    Joined:
    Jan 25, 2012
    #7
    First Post!!

    Like jzpearson and cchrysos this is my first post (and probably my last). The question may have been posed over a year ago however no solution was ever provided until cchrysos posted a response. I was having the same issue and all it took was relaunching finder to remove those files. Thank cchrysos you were a big help.
     
  8. Teddy1308, Sep 19, 2015
    Last edited: Sep 22, 2015

    Teddy1308 macrumors newbie

    Joined:
    Sep 19, 2015
    #8

    So I am fully aware that this post is many years old, but to help out some one, well in my case I had a game on my desktop that I could not get rid of, it said something like "this object can't be deleted" every time i tried to do so t. Well what the problem was, it was 1 file inside a folder in the game folders was locked, so you would just have to search thru your folders in whatever program or game and find that one locked file and unlock it, that should solve all your problems.
     

Share This Page