Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

cannot delete file off desktop

I have, excel files on my desktop (labled with numbers and letters) that cannot be moved, deleted or even opened. I have no idea what they are. How do I get rid of them??

MacBook Pro

Posted on Aug 14, 2012 7:04 PM

Reply
7 replies

Sep 28, 2012 11:02 PM in response to jmaurus

In an open Finder window, click "Application," select"Utilities," choose "Terminal" and double-click the "Terminal" application to launch it.


Type "sudo rm –f " (with a space after the f and not including the quotes) to delete a file.



Drag and drop the files you wish to delete onto the open Terminal window. The files you drop on the Terminal window will be deleted. You can drag and drop multiple files and folders onto the Terminal window.

Note using this u cant undo the action.


Oct 14, 2012 7:20 PM in response to missLD

Solai_4's fix doesn't seem to work. I opened Terminal and typed in his command excatly as he has it. Then I tried to drag/drop the errant files onto the open Terminal Window but they just bounce back and don't delete.


Logging off and then back on, as suggested above Solai's post, does the trick. The only problem is, it shuts down all open applications, almost like restarting your computer. Don't want to have to do that every time one of these crazy non-deletable files gets on my desktop...it only happens in Excel (for me.)


What I want to know is, how does a non-deletable file even appear in the first place. These files start as .csv downloads from Google, using the standard download utility. How is it that once they appear on the desktop, they become undeletable?

cannot delete file off desktop

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.