Previous 1 2 Next 16 Replies Latest reply: Apr 23, 2012 11:46 AM by X423424X
plaarch Level 1 Level 1 (0 points)

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 (61,945 points)
  • X423424X Level 6 Level 6 (14,205 points)

    Try using Trash It!.

  • fane_j Level 4 Level 4 (3,660 points)

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

     

    $ rm -f ~/.Trash/A9AE*

     

    But where is this file coming from?

  • plaarch Level 1 Level 1 (0 points)

    Tried Trash-it and it does not work.

  • plaarch Level 1 Level 1 (0 points)

    fane_j      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.

  • jsd2 Level 5 Level 5 (6,200 points)

    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,205 points)

    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,595 points)

    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
  • plaarch Level 1 Level 1 (0 points)

    The information was copied exactly as it was shown, and includes NO NAME.   Hate to show my lack of tech knowledge, but where do I find "Terminal"?

  • X423424X Level 6 Level 6 (14,205 points)

    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,595 points)

    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,660 points)

    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)

    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,205 points)

    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.

Previous 1 2 Next