Can not empty Trash

Hi there, I have recently had a corrupt iphoto library.  I have extracted the pictures and created a new library.  After doing this I deleted the old library, which is in my MAC trash (not iphoto trash).
I can not empty my trash and have searched everywhere online for a resolution, these are things I have tried ....help I need to dump this large library.
Thanks
1- Right Click - empty trash
     I get The operation can’t be completed because the item “iPhoto Library .photolibrary” is in use.
          I have searched this error message and tried using terminal to see what has this in use using the following - couldn't find anything
                    xxx-iMac:~ ryanromero$ lsof | grep iPhoto Library .photolibrary
                    grep: Library: Is a directory
                    grep: .photolibrary: No such file or directory
2 - I've tried doing Secure Empty Trash in which i get the below message
        The operation can’t be completed because you don’t have permission to access some of the items.
3- I have tried using terminal to empty the trash using the following command - It acts like it will delete it but the trash is still there.
     Ryan-Romeros-iMac:~ ryanromero$ sudo rm -rf ~/.Trash/*
     Password:
4- I have also tried this which said it would delete the file but doesn't in terminal
     Ryan-Romeros-iMac:~ ryanromero$ sudo rm -rf /Volumes/Iomega_HDD/.Trashes/501/iPhoto\ Library\ .photolibrary
Password:
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/._iPhotoAux.db: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/._iPhotoLock.data: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/._iPhotoMain.db: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/._Library6.iPhoto: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/._ProjectDBVersion.plist: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/._Projects.db: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/._DataModelVersion.plist: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/._tmSync.plist: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb/._BigBlobs.apdb-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb/._Faces.db-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb/._History.apdb-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb/._ImageProxies.apdb-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb/._Library.apdb-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb/._lockfile.pid: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb/._Properties.apdb-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb/BigBlobs.apdb-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb/Faces.db-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb/History.apdb-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb/ImageProxies.apdb-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb/Library.apdb-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb/Properties.apdb-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/apdb: Directory not empty
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/DataModelVersion.plist/._ImageProxies.apdb-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database/DataModelVersion.plist: Directory not empty
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Database: Directory not empty
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/iLifeShared/apdb/._ImageProxies.apdb-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/iLifeShared/apdb: Directory not empty
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/iLifeShared: Directory not empty
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/iPhotoAux.db: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/iPhotoMain.db: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Masters: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Previews/Database/apdb/._ImageProxies.apdb-journal: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Previews/Database/apdb: Directory not empty
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Previews/Database: Directory not empty
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Projects.db: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary/Thumbnails: Input/output error
rm: /Volumes/Iomega_HDD/.Trashes/501/iPhoto Library .photolibrary: Directory not empty

First, never try to empty the Trash in the shell. It's dangerous and unnecessary, and as you've discovered, it doesn't always work.
It's possible that the external drive is malfunctioning, but before you draw that conclusion, quit iPhoto and try again to empty the Trash.

Similar Messages

  • Have file in Trash and can not empty trash . Showing 63 files and tried to shut down and restart and still will not empty

    Have file in Trash and can not empty trash . Showing 63 files and tried to shut down and restart and still will not empty.Anyone know what can be done?

    You are welcome. Glad I could help/
    Allan

  • IMac-iPhoto-can not empty trash

    I have 1000's of images in iphoto that I'm trying to get rid of.
    As soon as I click on empty trash the swirling circle comes on and I can not do anything in iphoto, each time I have to force quit.
    I cannot figure out how to fix this, can someone suggest what to do.
    Thanks for your time, really appreciate it.
    Tracey

    Try openeing the Trash and removing half of the photos, put them on your desktop, and then try to empty Trash again.  You may simply have too many in it for it to be able to function.

  • Can not empty trash on external HD

    I have an iMac running 10.6.8.  I have an external 1.5TB HD that I had used for time machine backups. I have moved the time machine backup file to the trash and now the trash will not empty. When I try I get error code -8003.  I tried moving the offending file out of the trash but the finder just tries to make a copy.  Amazingly, after "preparing to copy" for over 24 hours, it said that I didn't have enough hard disk capacity because the file was 37TB.  (Yes, TB -- this is not a typo)  Obviously, there is no way I could have a 37TB file on a 1.5TB hard drive.  Any suggestions to get rid of this file would be appreciated.

    You might try reformatting the external drive and see if that helps, but I doubt it. See this for help: How To Fix Error Code 8003 OS X - Easy PC Tutorials.

  • Help-can not empty trash due to localized.rsrc file

    I have dumped all of the contents of my cloned backup hard drive to the trash. Usually I can empty it w/ no problem. However, it will now permit me to empty only part of the contents, and returns a message that it is stopped because the item "Localized.rsrc" is in use. When I use spotlight to find this glitch it shows me that Localized.rsrc is a Unix exe file in the following location: Library/Frameworks/Stuffit.framework/Versions/A/Resources/English.|proj'
    I tried the suggestions from this forum at http://discussions.apple.com/thread.jspa?messageID=2313873&#2313873 with no success. How can I empty the trash and get on with my life? Thank you!
    Bob

    If I were you I would put the Palm stuff back where it came from, that is drag it out of the trash and onto your backup drive, and then empty the trash. This would at least get everything else out of the trash. You could then try the Terminal remove command on the Palm folder:
    sudo rm -R [drag the Palm folder here]
    Hit return and enter your password. The command would look something like this:
    Tiger:~ francine$ sudo rm -R /Volumes/BackUpDrive/PalmWhatever/
    Password:
    Does that return an error message?
    Francine
    Francine
    Schwieder

  • HT1338 can not empty trash

    trash

    Thank you for your suggestion to do a safe boot. I did that and was able to delete everything in my trash bin.
    Kenichi Watanabe wrote:
    In case you have installed some background process (that runs automatically when you log in) that is interfering, try doing a Safe Boot.  This will perform a startup with only the minimal required system processes running.
    http://support.apple.com/kb/ht1564
    Start up with the Shift Key held down.
    http://support.apple.com/kb/HT1455
    Then, try emptying the Trash while running in Safe Mode.

  • HT1338 My kid down loaded mackeeper and now I can not get rid of it.  I have tried all techniques suggesting on several sites and still can not empty the trash can.  keep getting error code -8003.  Help.

    My kid down loaded mackeeper and now I can not get rid of it.  I have tried all techniques suggesting on several sites and still can not empty the trash can.  keep getting error code -8003.  Help.

    http://reviews.cnet.com/8301-13727_7-20020873-263.html
    This should help you empty what's currently in the trash, but is no guarantee you got everything related to MacKiller off the drive. See Ogelthorpe's link.

  • HT1338 I can not empty my trash can my MacBook Pro can not save anything because of it.No room available error.what can I do? I also have Windows 7 on  my Mac.

    I can not empty my trash and my MacBook Pro can not save anything because there is no space left".No room available error."what can I do? I also have Windows 7 on  my Mac.

    If it were me, I'd get a new hard drive or SSD and put it in an external enclosure. Boot into the recovery partition, format the new drive (not the old one) and install the OS to it. Shut down the Mac, open it up, and swap the drives. You may be able to read your data from the old one externally if you're lucky. If you're very lucky you may be able to use Migration Assistant to move all your stuff to the new drive.
    Look at ifixit.com for the exact procedure to get to the drive on your model. If it's a unibody it's pretty simple.
    http://www.amazon.com/Sabrent-2-5-Inch-Aluminum-Enclosure-EC-TB4P/dp/B005EIGUD4/ ref=sr_1_3?ie=UTF8&qid=1392154588&sr=8-3&keywords=2.5+enclosure

  • Why i can not empty the folder in the trash

    i have an external hard drive and i am using between the windows pc and mac ... recently i found there is a folder in trash can i can not empty ... i tried to empty it in the terminal by typing rm & space ... drag the folder into the terminal with a green plus sign ... but i still can empty the folder in the trash can ... any advise...
    cheers,

    http://www.thexlab.com/faqs/trash.html
    This should help you.

  • I have a MacBookPro 2011. The Empty Trash command does not work. I mean I can not empty my trash

    I have a MacBookPro 2011. The Empty Trash command does not work. I mean I can not empty my trash. what should I do? since now there are more than 5000 items accumulated in my trash.

    Thanks everybody for your comments.
    I just found a way out from the disscussion : I can't use empty trash or secure empty trash.
    The same formula proposed by Zyriab solved my question.
    This solved my questionRe: I can't use empty trash or secure empty trash.

  • Can Not Empty the Trash

    For some reason I can not empty my trash. There are over 16,000 items in there and it is really running down my free space on the hard drive. When trying to empty the Trash it keeps saying that there are items locked e.g. whatsnew.htm is locked and therefore I can not continue with the deletion of the items.
    Does anyone know why this happens and what I can do to correct the problem? All I want to do empty my trash but this seems to be a little more difficult than it should be!
    Thanks

    Hi Welcome to the Discussions.
    Try holding down the option key and select Empty Trash. If that doesn't work, open the trash, control+click on the locked file and select Get Info from the contextual menu. Uncheck Locked in the window that opens and enter your password when asked. Close the window and empty the trash.
    If those things don't work there are a few more ways to do it.
    John

  • Help I have put lock folders from time machine in the trash and now I can not empty the trash of these folders

    Help I have put some folders from timemachine in the trash and now I can not empty the trash can.  I now realised I took the wrong action to delete these folders duh! but i canot work out how to solve the problem I now have, can anybody please tell me what action to take?

    Hi Linc
    Thank you for your reply.  It did not work at first, I think there was just to much stuff.  In frustration I held ctlr, alt and cmd keys down then empted the trash and it worked!  I had to repeat the process several times as only a few folders were delt with at a time. but now are all gone.
    Kind regards Dian

  • -8003 Error "Can't Empty Trash" only with specific item

    Tried to get rid of a folder for an applicaiton that I'd downloaded & installed on a trial basis, then decided not to buy.
    Any time I trash this folder with the app and related files, I get the "Can't Empty Trash -8003" error.
    If I remove that folder, I can empty the trash fine.
    Any ideas?
    (the download app is Extensis Portfolio 8.5)

    You could try using TrashIt!
    Here's a cnet article about -8003:
    Here's another discussion on the same topic.
    Here's a general article on solving trash problems.

  • Emailing Excel sheets-can't empty trash

    I notice anytime I send someone an Excel spreadsheet & then dump that excel into trash I can't empty trash, why is this? I close down all excel worksheets. I even trash the sent mail that had the excel attachment. Why does it think there's still an open Excel running? Is there a simpler solution then having to use Mac Janitor or Onyx everytime I do this?

    Sometimes the Mail application will hold up the process. I can't explain why, but next time try quiting Mail when you have that problem. Then you should be able to empty the trash.

  • How can I empty trash? It won't empty. I received error code -8003.

    How can I empty trash? It won't empty. I received error code -8003.

    Usually rebooting clears it so you can empty the trash, otherwise:
    Can't empty trash:
    http://support.apple.com/kb/HT1526?viewlocale=en_US
    How to Force Empty the Trash:
    http://www.thexlab.com/faqs/trash.html#Anchor-Force-11481

Maybe you are looking for

  • Apple Mobile Device service and Ipod Service both necessary?

    Do I need both Apple Mobile Device service and Ipod Service running on my Windows XP machine in order to use an iPod Touch Gen4?  I have to restart both of these services to get iTunes 11.0.4.4 to recognize it.  I wonder if they conflict with one ano

  • Oracle Linux 6.3 - restarts on shutdown

    Hi All, I installed Oracle Linux 6.3 on a standalone laptop. I updated it fully. Installed Oracle Database11gR2 and everything works perfect The OS reboots on shutdown command. There is no "wake up on LAN" or "Automatic Power Up". Checked BIOS - didn

  • Why can't I get twitter to make tweet sound for new tweets?

    I've tried everything to change it and continues to make Tri-tone.

  • How can I improve the response time of the user interface?

    I'm after some tips on how to improve the response time to mouse clicks on a VI front panel. I have  data acquistion application which used to run fine, but after spending a couple of weeks making a whole bunch of changes to it I find that the user i

  • CAN SOMEONE PLEASE HELP ME REOVE ITUNES!

    How Can I Remove and Unistall Itunes From My Computer I Went To "Add or Remove Programs" and Clicked Itunes "Change/Remove" and nothing happen! its still there same thing for quicktime and im trying to unistalled them because i dont have any were in