Cannot remove stubborn file from trash

I have a problem with a very stubborn item in the trash that will not be removed. This is a zero kb folder that when using different trash methods, often indicates input/output error. It slows the whole system whenever selected or otherwise being used e.g. for trashing etc...
I have tried:
empty trash
secure empty trash
force empty trash
Trash It! utility (from trash can and from desktop)
sudo rm -rf ~/.Trash/<file_to_delete>
Nothing doing. I first noticed a problem when doing a routine repair permissions. This was very slow and finished up by listing a number input/output errors in image png files in an images folder inside a dictionary package (Oxford English.dictionary). I trashed the .dictionary package (and restored from an earlier Time Machine version which seems to work fine). However, I could not remove the offending package from trash. After all the above efforts I am left with just one empty folder; this was called 'images' but is now just a jumbled name of letters and numbers. Repair permissions no longer signals any input/output errors but is still slow to complete.
Any suggestions or help appreciated...
Thanks

You wrote...
sudo rm -rf ~/.Trash/<file_to_delete>
Have you tried rebuilding the Trash itself? That usually blows away anthing...
At the prompt, copy and paste this command
sudo rm -rf ~/.Trash
Press Return.
You will be asked to enter your admin password. It will be invisible.
Enter it and press Return.
Log out and back in or restart.

Similar Messages

  • I can't remove alias files from trash to terminal

    I can't delete files from trash. I tride from terminal but it's imposible to remove from trash to terminal.

    Information.
    Trash FAQ       
    Trash – Empty When File is Locked or in Use

  • Cannot remove pdf file from desktop

    Hi,
    I have been offered update on Adobe Reader appx  12 times now and it has been accepted and closed other programmes to install. It 9.5.1 version.
    Now I have two pdf files on my desk top 28bea10-8739248572913388.pdf  and a similar one  which cannot be trashed or removed from the desk top.
    A sign comes up cannot be deletd  therefore cannot be removed from the desk top.
    Any help welcome
    Regards
    David

    I had the same question, and I logged out and back in and the file is gone, thanks for the info on here. Thought I had a virus file…glad it was simple.

  • Time Machine: i had a problem with removing old files from trash, that is fixed and the whole reason was to make time machine work. It has been backing up for day and one half. What should I do??

    trash problem resolved. Now time machine is acting up. it has been backing up since yesterday

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Copy the words "Starting standard backup" (without the quotes) on this page and paste into the String Matching text field. Note the timestamp of the last message shown. Clear the text field and scroll back in the log to that time. Post the messages timestamped from then until the end of the backup, or the end of the log if that's not clear.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.
    Some personal information, such as the names of your files, may be included — edit that out, too, but don’t remove the context.

  • Can't remove user files from trash

    I tried to remove user.
    The operation crashed.
    I later deleted the user directories while signed on as another user.
    Now the original user files are stuck in the trash and I can't delete them.
    Can't even reset permissions.
    What should I do to rmeove them?
    Thanks
    karl

    karlfromdurham city wrote:
    I tried to remove user.
    The operation crashed.
    I later deleted the user directories while signed on as another user.
    Now the original user files are stuck in the trash and I can't delete them.
    You don't delete a User account by dragging the User's folder to the trash.
    Open System Preferences > Accounts (or Users and Groups I believe it is in Lion).
    You cannot be logged in to the account you're deleting, and you must be logged in to an Admin account.
    Click the padlock to unlock the pane, select the User in the list of accounts and click the - (minus) sign below the pane.
    You'll be asked what to do with the users home folder - simply select delete and click OK.
    No need to get yourself in a permissions pickle.

  • Cannot Remove Offline Files from Sync Center

    I believe I have searched the history of Sync Center issues enough that this is an issue that has not yet been addressed.  If so, please point me to the proper article.  Thanks!
    I was making folders available for offline use in my Win 7 Ultimate edition.  We are in the process of moving to NAS servers (with new network names) and I know syncing with NAS servers is not working correctly right now.
    So I have unchecked all the folders to make then unavailable for offline.  I have also gone to "Manage Offline Files" and tried deleting all offline files for the network drive.  However, there is one Network Drive that I cannot get to delete no matter what I try.  I have tried Deleting Offline Copy for the drive (which it says is successful), but the network drive and a folder hierarchy remain when I view Offline Files.  Also, when I view this folder path in Windows Explorer, it gives a status of "Offline Availability: Available".  I find this odd since the Make Available Offline box is not set for any of the files or folders in this path.  Also, this message seems odd to me since the only valid messages I have found for this status are "Always Available" or "Not Available".
    I have also tried making all of these files and folders available offline again and removed and deleted, but I still have the same problem.  I have also tried the registry key to reset the cache for offline files and that did not work either.
    Please help me get rid of this because it is driving me nuts!
    Thanks.

    OMG!!!!THANK YOU SO MUCH!!!!You have no idea how long I've been trying to get rid of those files!I've had those files for about a year or longer & no one could tell me how to
    get rid of 'em,& plus I know a lot about computers(:/ I'm somewhat of a hacker too,you could say)so you(not you specifically,but people who are not knowledge based with computers)can only imagine how
    FRUSTRATING it is to not no the answer!I mean I had just short of
    50GB eating up space/memory on my computer,just because the other computer was renamed,and placed under a new server & wireless network;so I couldn't re-sync them under the same partnership because the associated computer wasn't/couldn't
    be found,even though I had changed the computer name back & tweaked both the server & wireless network to match the original proportions or requirements for the partnership!I mean I was even thinking of removing my hard drive & mounting to another
    computers hard drive(proverbially the partnered computer)to get deep within the system files without causing any structural damage to the motherboard or operating system(kinda like the time I accidentally compressed the boot the boot drive!:'(
    That was not fun,it took me about a week to repair that thing!)by some sort of computer failure!So I made this new Windows Live account(I forgot my other one)just to say thank you!This really helped!:)

  • Cannot secure delete items from trash: 180 items (pictures, files, folders) remain even if I check "remove all items"

    I cannot secure delete items from trash: 180 items (pictures, files, folders) remain even if I check "remove all items".  Macbook Pro, 10.6.8

    Maybe the items are locked.
    Mac OS X 10.6 Help: Shortcuts for working with items in the Finder
    Shortcuts for working with items in the Finder Command (⌘)-Shift-DeleteEmpty the Trash without any warning or when it contains locked filesCommand (⌘)-Shift-Option-Delete
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/cdb_cpmvfky.html

  • I cannot delete a file from the document folder.  I can move it to the trash and then empty the trash, but when I go back to the documents folder it is still there.

    I cannot delete a file from the documents folder.  I can move it to the trash and then empty it, but when I go back to the documents folder, the file is still there.

    Gay,
    I wonder what your computing environment is. Is your account being administrated by another account? Are you working in an account subject to "Parental Controls"?
    Jerry

  • How can i remove secure files from the trash? I tried click away the secure notification in info, but still i cann't remove them. Is there a buttoncombination to use?

    How can i remove secure files from the trash? I tried click away the secure notification in info, but still i cann't remove them. Is there a buttoncombination to use?

    If you are unable to empty the trash, try holding the Option key while selecting Empty Trash.
    Otherwise, some steps in the following link may help you.
    http://support.apple.com/kb/ht1526

  • Cannot delete movie file from iTunes

    After converting movie file via Quicktime and adding it to the iTunes library, I am not able to remove it anymore. If you try to delete it, it crashes iTunes and after that all desktop icons are frozen. The movie does not play in iTunes, you cannot edit its info without crashing iTunes either. Movie plays in preview pane in Finder....
    Is there any other way to remove the file from iTunes?

    Try deleting the file without iTunes running.
    When you next open iTunes it should then be marked as a missing file and you should be able to delete the entry from iTunes.
    Hope this works
    Regards,
    Colin R.

  • Cannot move any files into trash to delete them. I get a Trash warning box saying "The Finder cannot complete the operation because some data in 'file name' could not be read or written.(Error code - 36)".Macbook has so much data it is almost not working

    Cannot move any files into trash to delete them. I get a Trash warning box saying "The Finder cannot complete the operation because some data in 'file name' could not be read or written.(Error code - 36)".Macbook has so much data it is almost not working.
    I have tried reseting to factory settings by removing battery and holding down the power switch for more than 5 sec but this does nothing.
    Any ideas would be greatly appreciated as I think with so much unwanted data on the desktop and other places the whole os will crash very soon.
    Thanks, Rick

    The hard drive may be dying anyway, or the directory damaged because it is so full.  You should never let the hard drive get over 85% full.
    A -36 error is a read/write error.
    All you did with the power is reset the SMC.  Does nothing to reset everything to factory settings. 
    Do you have your original 10.4 installer discs for the MacBook?
    Is your data backed up?

  • Can't empty GarageBand files from trash

    I am creating GarageBand files; when I move them to trash and then try to empty the trash, I get a message saying I need to make sure they are "unlocked" and permissons are all okay, and then it gives me two options:  Stop or Continue, neither of which successfully deletes the file from the trash.
    I have gone to the file's "Get Info" and confirmed the the "Locked" box is NOT checked, and that my permissions are "Read and Write" and I've even tried to unlock the little lock at the bottom of the Get Info screen.  To no avail, I still cannot empty the file from the trash.
    I have checked user communities and tried to hold down the Option Key while I empty the trash.  One time out of 4 or 5, this works.  I have also tried to hold down the Option AND shift keys at the same time while I empty the trash.  No difference.
    The only thing that seems to work is one user's suggestion to open the "Terminal" utility and type in some command that supposedly resets permissions and empties the trash and fixes everything.  This has worked both times I've done it, but then the next time I put a new file into the trash, it's once again back to being stuck and "locked." 
    I'm not sure whether to post this in GarageBand community or Lion/general pages, so I may do both...but can anyone help me here?
    Thanks.

    Now that I posted - More Like This offered the solution - hold Option key while emptying - works on locked files also. Thank You Very Much !!!

  • How do i remove a file from my favorites list on my hard drive

    how do i remove a file from my favorites list on my hard drive.  i was trying to put a file in my documents, and it added it to my favorites.  i have tried to drag it off but it won't disappear and it won't go into the trash either.  any suggestions.  i think it is simple because i have done it before, but can't remember what i did to correct it.  thanks

    Try Holding the CMD Key as you drag it off...

  • Help to restore iTunes files from trash, not deleted.

    I need to move 35,000 podcasts, 654 GB, from my trash back to my iTunes library on an external hard drive (EHD). They are NOT deleted from my trash.
    I am running on Snow Leopard 10.6.8 until I can clear enough EHD space to backup/upgrade to Mtn Lion.
    11.5 iTunes is my current version on my 640 GB early 2009 24” mac.
    I have tried:
    Undo - command + Z
    Selecting all in trash and dragging it to the:
    iTunes Music folder on my EHD
    Automatically Add to iTunes folder on my EHD
    The upper left corner on the iTunes window
    The iTunes icon in the dock
    There is no restore option when I Right Click on anything in trash, single or more than one file.
    In iTunes: File, Add to Library, selecting the recycle bin or the file under it. Nothing happens. I do have checked on iTunes Preferences, Advanced, Copy files to iTunes Media folder when adding to library.
    Dragging 40 files from trash to the Automatically Add to iTunes folder on my EHD.
    This returned the files but without essential data like the release date/description, which totally messes up my library.
    They are no longer listed in date order, and I cannot see if I have the most recent without scrolling down down through sometimes over 200 pods in that album, and even then there is no date order, which orders all podcasts. All the tags/descriptions/comments I spent thousands of hours on are gone.
    I just recieved in the mail yesterday my Data Rescue 3 software for an earlier problem,
    I do not know if it will help retrieve all the essential data.
    I cannot move the files to my desktop because the size, 654 GB, is bigger than my 640 GB mac. Plus, I know from experience this does not preserve the essential data like release date.
    My iTunes EHD has 485 GB free out of 1.71 TB.
    I can order another 3 TB EHD to arrive in 2 weeks, which I will eventually need, but my husband aint going to be happy. As an old photographer trying to join the digital age, I already have 20 TB storage, mostly for photos, which has put us in debt.
    Please, does anyone know how to restore podcasts from trash while retaining metadata?

    Thanks for your sympathy, dclkdm.
    For anybody else out there,
    I have had some luck retaining info such as release date, plays, and rating by
    dragging podcasts to a Finder folder in iTunes,
    in iTunes Media,
    Automatically Add to iTunes.
    So far, I have retrieved all my lost podcasts with Data Rescue 3,
    but have not tried to consolidate everything into one library yet.

  • Unable to delete file from trash because it's "in use" not locked.

    I'm unable to delete a file from trash. I keep getting the following message: "The operation can’t be completed because the item is in use."  I've confirmed the file isn't locked and I've tried renaming it but still no luck. I'm running OSX 10.8.4. Any thoughts?

    Check the 'More Like This' discussions on the right hand column.  I suspect you may find the answer there.
    Ciao.

Maybe you are looking for

  • HT201317 Cant find photo stream in iPhoto

    Ipad, Iphone have photo stream but cant seem to find it on my Mac in iphoto.  There is nothing on the left handside menu for photo stream.  Is there anything I need to do to have it appear or am I looking in the wrong place for it.  Just returned fro

  • Setting up posterframe with quicktime?

    Hello, I have: •Quicktime Pro Version 7.6.4 (518.35) •Dreamweaver CS4 I'm trying to set up a poster frames for my quicktimes on my site. Right now its just defaulted to the first frame which is black. I want it to preview the section of the video i w

  • Putaway strategy based on nearest empty bin

    Gurus In my storage type there are different bins, how is it possible for me to have the system propose a nearest empty bin for a putaway location, nearest empty need not be the next empty bin strategy, what considerations i should take during bin cr

  • Software requirements for PIP 3.1

    Hello all, Please provide me the software requirements for PIP 3.1. I am installing Agile-EBS PIP. List is as given below SOA Version + Patch set: DB Version: OSR Version( Oracle Service registry) Any additional patches( if required Eg: MLR8). Please

  • FL: Hilfe verschwunden

    Tach. Vor einigen Tagen hab ich bemerkt, dass meine Fl8Pro-Hilfe leer ist. Das letzte, woran ich mich erinnern kann, war der fehlgeschlagene Versuch, die Inhalte übers Web zu aktualisieren. Eine Neuinstallation wäre eine Möglichkeit, aber vielleicht