Skip navigation

Can't remove file

837 Views 16 Replies Latest reply: Apr 23, 2012 11:46 AM by X423424X RSS
1 2 Previous Next
plaarch Calculating status...
Currently Being Moderated
Apr 13, 2012 8:09 AM

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)
  • baltwo Level 9 Level 9 (59,180 points)
    Currently Being Moderated
    Apr 13, 2012 1:07 PM (in response to plaarch)
    27" i7 iMac 10.6.8 , Mac OS X (10.7.3), G4 450 MP 1.5 GB RAM w/(10.5.8/10.4.11/9.2.2)
  • X423424X Level 6 Level 6 (14,190 points)
    Currently Being Moderated
    Apr 13, 2012 1:18 PM (in response to plaarch)

    Try using Trash It!.

  • fane_j Level 4 Level 4 (3,655 points)
    Currently Being Moderated
    Apr 14, 2012 4:09 PM (in response to plaarch)

    If the file is in your own Trash, you can try

     

    $ rm -f ~/.Trash/A9AE*

     

    But where is this file coming from?

  • jsd2 Level 5 Level 5 (6,200 points)
    Currently Being Moderated
    Apr 16, 2012 11:42 AM (in response to plaarch)

    Do you have Windows installed in a Boot Camp partition?

    If so, see these threads:

    https://discussions.apple.com/message/9428272#9428272

    https://discussions.apple.com/message/15526554#15526554

  • X423424X Level 6 Level 6 (14,190 points)
    Currently Being Moderated
    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?

  • Mark Jalbert Level 5 Level 5 (4,390 points)
    Currently Being Moderated
    Apr 16, 2012 12:17 PM (in response to plaarch)

    Let's see if I can help. Sometimes the OS has issues deleting files with pesky characters in the file name. Open the Terminal application and copy then paste the following command into the Terminal.app window and press the return key. Post back the command and the ouput that is produced.

    find /Volumes/NO\ NAME/.Trashes/501/ -type f -ls
  • X423424X Level 6 Level 6 (14,190 points)
    Currently Being Moderated
    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.

  • Mark Jalbert Level 5 Level 5 (4,390 points)
    Currently Being Moderated
    Apr 16, 2012 1:33 PM (in response to X423424X)

    If the volume was unmounted then the file would disappear from the users trash can. I'll let you try to remove the file with a wild card in the file name but I'm sure that the file will have to be deleted by it's inode or catalog node id. Give me a holler if you need help.

  • fane_j Level 4 Level 4 (3,655 points)
    Currently Being Moderated
    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.

  • jsd2 Level 5 Level 5 (6,200 points)
    Currently Being Moderated
    Apr 16, 2012 2:34 PM (in response to plaarch)

    Again, do you have a Windows installation in your computer? There are quite a few threads here describing similar files with forbidden characters in the external trash, which cannot be deleted normally. They usually turn out to be damaged Windows files, and what has often been reported as a fix is to boot into Windows and run chkdsk on the affected disk.

  • X423424X Level 6 Level 6 (14,190 points)
    Currently Being Moderated
    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.

1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.