PDA

View Full Version : Force delete/trash locked items?




GigaWire
Feb 4, 2004, 09:18 PM
Is there any way to force delete locked files, other than using terminal?

Example, an unlocked folder has 20 different folders within it with a total of 300 locked files.

I know how to mass unlock, but i was wondering if there is another way (key combo) to just get rid of them?



stoid
Feb 4, 2004, 09:46 PM
I know that there is a terminal way (rm something or other)

Try, COMMAND-DELETE, does that do it, or does it give you a 'locked' error?

oldschool
Feb 5, 2004, 01:49 PM
i think you hold down option and command or just option and select empty trash.

The whole key command would be command-option-shift-delete.

F/reW/re
Feb 5, 2004, 02:19 PM
It aint that hard doing it from the terminal.

Open terminal
write rm
press space
drag the folder you want to delete into the terminal window and press enter.

janey
Feb 5, 2004, 04:12 PM
Originally posted by F/reW/re
It aint that hard doing it from the terminal.

Open terminal
write rm
press space
drag the folder you want to delete into the terminal window and press enter.
uh no
you go to terminal
type in
sudo rm -rf (filename)
and then type in your password (assuming you're an admin).
rm wont work for locked things.
make sure you dont do something stupid like "sudo rm -rf /" because then you'll get a foobar'd computer.
ie on my powerbook if i wanted to delete a folder called blah on my desktop this is what it would look like in terminal (sorry i'm trying to remember from memory what it says):
Last login on ttyp1 at 12:39 blah blah blah
Welcome to Middle Earth!
jane@mordor.local:/ $ sudo rm -rf ~/desktop/blah
Password:
jane@mordor.local:/ $

virividox
Feb 5, 2004, 04:41 PM
you can get a program called modifier lite of version tracker lets you do all that and more

RiseAgainst
Feb 6, 2004, 11:35 AM
You can also try a program off of versiontracker called Force Delete. All you have to do is drag the problem file on the Force Delete icon and it will delete it.