Results 1 to 9 of 9
  1. #1


    Member Since
    Oct 24, 2011
    Posts
    4
    Question Undeletable files in Trash
    I have a strange problem, its not too important but it is bugging me. Sitting in my trash folder are 3 files with no file extensions that look like this:


    The info tab gives this for each of them:


    I have tried everything to delete them but nothing works. I tried using the command line force delete, option-delete, shift-option delete, rebooting, force deleting trash applications, everything and they wont move. The computer acts perfectly normal, nothing visibly altered except that I now cannot send files off external drives to the trash. Any help?

  2. #2

    chscag's Avatar
    Member Since
    Jan 23, 2008
    Location
    Fort Worth, Texas
    Posts
    48,233
    Specs:
    Late 2013 27" iMac, iPad 3, iPhone 6s+, iPhone 6+, 3 iPods, El Capitan
    Those files may have been deleted from an external drive while it was attached. If the drive is no longer attached, they can't be deleted because the association does not exist when the drive is not mounted. Don't know for sure if that's why, but worth a try.....

  3. #3

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    If it's not caused by an external drive as chscag noted, you can get rid of those files using the following method:

    1. Open up Terminal (/Applictions/Utilities)
    2. Enter the following exactly:
    Code:
    sudo rm -rf ~/.Trash/*
    3. Press enter, type in your password (you won't see anything come up when you type) and press enter again.

    Presto!
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  4. #4


    Member Since
    Oct 24, 2011
    Posts
    4
    Quote Originally Posted by chscag View Post
    Those files may have been deleted from an external drive while it was attached. If the drive is no longer attached, they can't be deleted because the association does not exist when the drive is not mounted. Don't know for sure if that's why, but worth a try.....
    The thing is I only ever use 1 externa drive with my mac and its the one you see plugged in labelled 'NICK' in the image.

    Quote Originally Posted by vansmith View Post
    If it's not caused by an external drive as chscag noted, you can get rid of those files using the following method:

    1. Open up Terminal (/Applictions/Utilities)
    2. Enter the following exactly:
    Code:
    sudo rm -rf ~/.Trash/*
    3. Press enter, type in your password (you won't see anything come up when you type) and press enter again.

    Presto!
    Tried using this and it doesn't seem to work.

  5. #5

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    The command will delete anything and everything in the Trash folder. If it doesn't work, something is creating those files. Have you rebooted recently? It seems like a simple solution but it might help to kill any process creating those files and it will refresh Finder at the same time.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  6. #6


    Member Since
    Dec 11, 2010
    Posts
    1,458
    vansmith - I think it's far more likely the OP just typed it wrong!

  7. #7

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,866
    Specs:
    Way... way too many specs to list.
    Do you use bootcamp?
    mike
    This machine kills fascists
    Got # ? phear the command line!

  8. #8


    Member Since
    Jan 14, 2012
    Posts
    10
    I have similar problem but your solution didn't work.
    Quote Originally Posted by vansmith View Post
    If it's not caused by an external drive as chscag noted, you can get rid of those files using the following method:

    1. Open up Terminal (/Applictions/Utilities)
    2. Enter the following exactly:
    Code:
    sudo rm -rf ~/.Trash/*
    3. Press enter, type in your password (you won't see anything come up when you type) and press enter again.

    Presto!
    Copied your instruction and pasted into terminal. "Command not found" mind you, my question was very similar to the one you answered:

    <Will unlocking them help-if so how do you unlock? I can open with Text edit but due to years of caution when not knowing what I'm doing causes more problems I ask before doing things-grin (Suppose it shouldn't matter since all I want to do is trash them????)

    The file in particular is the boot file boot.efi. Trash basket is still full presumable until I can delete. >
    My external drive was never disconnected.

  9. #9


    Member Since
    Oct 24, 2011
    Posts
    4
    Quote Originally Posted by vansmith View Post
    The command will delete anything and everything in the Trash folder. If it doesn't work, something is creating those files. Have you rebooted recently? It seems like a simple solution but it might help to kill any process creating those files and it will refresh Finder at the same time.
    I rebooted and intially they disappeared but then without noticing when they reappeared.

    Quote Originally Posted by gsahli View Post
    vansmith - I think it's far more likely the OP just typed it wrong!
    No i made sure i didnt type it wrong.

    Quote Originally Posted by Dysfunction View Post
    Do you use bootcamp?
    Nope.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Undeletable nested folders in Trash - Terminal expert please??
    By Kryten in forum OS X - Operating System
    Replies: 69
    Last Post: 04-07-2015, 04:22 PM
  2. Trash problems: Files disappear after moving to trash
    By pimsche in forum OS X - Operating System
    Replies: 10
    Last Post: 08-31-2012, 11:57 AM
  3. Unix Executable Font Files in Trash as Recovered Files
    By wick98 in forum OS X - Operating System
    Replies: 20
    Last Post: 01-03-2012, 08:21 AM
  4. Undeletable file
    By XicoXperto in forum OS X - Operating System
    Replies: 0
    Last Post: 04-04-2011, 09:14 PM
  5. Trash problem: Can't see deleted files in Trash
    By Anil_robo in forum OS X - Operating System
    Replies: 0
    Last Post: 08-27-2006, 05:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •