PDA

View Full Version : Item in Trash cannot be trashed??




FunkyPurple
Sep 23, 2004, 08:54 PM
It says the operation cannot be completed because the item is locked. I've searched hi and low to find a way to unlock the file but I haven't been able to. What should I do? :confused:



yellow
Sep 23, 2004, 09:12 PM
Hold down Option and then select Empty Trash from the Finder menu.

iLikeMyiMac
Sep 23, 2004, 09:44 PM
When I get that I usually try a secure empty trash. I don't know why but it seems to work.

coconn06
Sep 23, 2004, 09:59 PM
It says the operation cannot be completed because the item is locked. I've searched hi and low to find a way to unlock the file but I haven't been able to. What should I do? :confused:

Worse comes to come, just open up the Terminal and type "rm -rf ~/.Trash/*" which will delete all items in your trash. Or "rm -rf ~/.Trash/file" to delete only the file or directory "file" from the Trash.

yellow
Sep 23, 2004, 10:12 PM
Or "rm -rf ~/.Trash/file" to delete only the file or directory "file" from the Trash.

For the record, the -r flag isn't needed if it's a single file. The -r flag is for recursively removing given directory hierarchy.

coconn06
Sep 23, 2004, 10:56 PM
For the record, the -r flag isn't needed if it's a single file. The -r flag is for recursively removing given directory hierarchy.

That's why I said file OR directory. I included -r to cover both cases. Next time read what I wrote (you even quoted it!) before commenting.

yellow
Sep 23, 2004, 11:11 PM
That's why I said file OR directory. I included -r to cover both cases. Next time read what I wrote (you even quoted it!) before commenting.

Yep, see that now. Decaf. Seriously. Try it.

t300
Sep 23, 2004, 11:23 PM
Most of the time you can just restart and then it will let you delete it.

FunkyPurple
Sep 24, 2004, 05:25 AM
I tried the 'hold down option' suggestion first and it worked like a charm. Thanks Yellow for that one and thanks to everyone else for your suggestions. I love this site! :D

Espnetboy3
Sep 29, 2004, 03:00 PM
there is also a program called delete it on versiontracker that has worked flawlessly for me a few times. But option delete is easier.