locked folder

zoranb

Registered
There is folder in a flash usb memory i have that cannot be deleted. When i try to delete it, it says that its locked but in the information window the locked check box is grayed. What can i do?
 
01. Launch 'Terminal' ('/Applications/Utilities/' folder).
02. Enter ...

rm -rf

... press the spacebar once.
03. Drag the icon of the item (file, folder, or combination) onto the 'Terminal' window.
04. Click on the 'Terminal' window, and press the <return> key.
05. Quit 'Terminal'.

If the above fails, use

sudo rm -rf (and the spacebar)

... in Step 02. above. You will be asked for the administrator's password, before the 'rm' command is executed.
 
Copy the files from that flash drive that you want to keep.
Open Disk Utility, and erase the flash drive. (Do NOT use the Write Zeroes option - it will ruin your flash drive)
Copy the files back to the flash drive...
 
Back
Top