Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

GigaWire

macrumors 6502
Original poster
Dec 25, 2001
386
0
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?
 
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.
 
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.
 
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
Code:
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):
Code:
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:/ $
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.