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

Can't remove file

Trying to kill a file in my trash which refuses to be removed. File name is A9AE␀␀␀␀.␀␀␀ How can I get rid of this?

iMac, Mac OS X (10.6.8)

Posted on Apr 13, 2012 8:09 AM

Reply
16 replies

Apr 16, 2012 11:48 AM in response to plaarch

How do I put in? Not sure where it came from. Info indicates:


Kind: Alias

Size: Zero KB on disk (Zero bytes)

Where: /Volumes/NO NAME/.Trashes/501


Preview: Indicates a never ending spinning wheel.


Open Terminal, copy/paste the line that fane_j gave you into the terminal window and hit return.


rm -f ~/.Trash/A9AE*


Does that line above that states "Where" really say "NO NAME" or did you just edit it out?


The fact that is in .Trashes/501 tells me that file is from a volume other than your boot drive. Is that drive currently unmounted?

Apr 16, 2012 1:13 PM in response to plaarch

Terminal is in utilities. The fact that the volumn may be unmounted may mean this won't work but try it anyhow.


Also realized the command is incorrect now that I see where it is:


rm -rf /Volumes/NO\ NAME/.Trashes/501/A9AE*


And you may need to try using sudo if that doesn't work.


sudo rm -rf /Volumes/NO\ NAME/.Trashes/501/A9AE*


with sudo you will be prompted for your admin password (it will not echo as you type) and then hit return.

Apr 16, 2012 1:59 PM in response to plaarch

plaarch wrote:


where do I find "Terminal"?

<http://guides.macrumors.com/Terminal>

Where: /Volumes/NO NAME/.Trashes/501

It would be useful to tell us more about "NO NAME". Is it an ext'l drive? A camera? A thumb drive or SD card? An MP3 player? How is it formatted? Was it used with Win or some other non-Mac device?


If it's an ext'l drive, it might be wise to verify it first with Disk Utility, just in case this strange name actually indicates directory corruption. If it's a camera or MP3 player, it might be better to attempt to remove it with the device's own file management facility.


As Mark Jalbert says, in the end—and depending on the file system—, it might come down to deleting it by its inode number, which is tricky; it might be easier to back up whatever files need backing up, and then reformatting it. It depends on what "NO NAME" is.

Apr 16, 2012 4:40 PM in response to Mark Jalbert

Mark Jalbert wrote:


If the volume was unmounted then the file would disappear from the users trash can.


Normally I would agree with your. But there is no getting around the fact that the system "thinks" it is in on external volume. Of course that is probably the source of the problem in the first place.


I think that drive needs to be verified with Disk Utility.

Can't remove file

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