Otterman speaks... (2003-2007)
Weblog about cycling, macintosh, natural history and life in Singapore.
Otterman - Blog Home

Archives - Blog's RSS - Comments RSS - LJ - Email me - All my blogs - About me: 2004 - 2002

Make a permalink or URL tiny:
Blog email subscription

Enter your email address to receive the previous day's posts:


Mac and the Internet - NUS
Cycling - Life in Singapore - Meow
Singapore Naturalist - Mangroves
Science - World - Museum
Movies - Literature - Travel

Biology module blogs:
Biodiversity (Year 1)
Ecology (Year 3)
Structure & Function (Year 3)
Marine Biology (Year 4)
Natural History Blogs:
The Biology Refugia
Raffles Museum Toddycats
Intl Coastal Cleanup Singapore
Labrador Park
Pulau Ubin Stories
Pulau Hantu
Cycling in Singapore
Mac Meetup Singapore
Aboard the Götheborg
Otterman Projects
Zendogs/Wheels are Turning
Hopea sangal

Raffles Museum Toddycats!

Pedal Ubin!
Pasir Panjang Heritage
Raffles Museum Internship
MR-BT Briskwalkers

Mac Meetups

Some of my kakis

Kakis at home
Ad & Jen
Inertia is a Sin
Halfway between the gutter and the stars
Lost in the Jungle
Dawn, Cat Welfare
Compulsive Maniac
Deadpoet's Cave
Rambling Librarian
Cooler Insights
Pencil Shavings
Ling the Merciless
Philosophize Me Jelly
Dewi A

Kakis overseas
Alvin - Beijing, China:
* Alvin's spiel
Kevin - Buffalo, NY:
Theory is the Reason
Bonny - HCMC, Vietnam:
Jac - London, UK:
Dogged Wanderings
Jasmin - NY, NY:
The Worsted Witch
Marcus - Shanghai, China:
You only live once
Tse-Lynn - Wilmington, NC:
Musings of a barefoot traveller
Jani - Newcastle, UK:
Salted & Fried

Seow Hwa's
The Ice Cream Gallery

Local reads
Commentary Singapore
Singapore Surf

Museum Roundtable
Science Daily
Environmental News Network
National Geographic News
New Scientist news
Nature News
Google News
Resource Shelf
The Unofficial Apple Weblog
Boing Boing
The Daily Show
This is a Flickr badge showing photos in a set called My Handphone Photos. Make your own badge here.

Made on a Mac with
Claris Home Page 3.0.
Blog engine: Samizdat,
based on PHPosxom,
based on Blosxom.
Updated with TextWrangler.

Creative Commons License
© N. Sivasothi, 2003
This work is licensed under a
Creative Commons License.

Subscribe with Bloglines

Otterman speaks...

Cycling, macintosh, natural history and life in Singapore - Archives

List of Categories : travel * museum * cycling * Singapore Naturalist * science * kakis * mangroves * movies * mac and the internet * meow * NUS * life in Singapore * lit * world *

Sun 02 Dec 2007

Deleting locked files in OS X

Category : mac and the internet

When Ivan emptied his Trash folder, he found the process interrupted by the dialog "The operation cannot be completed because the xxx is locked". It seems the Windows Media Player application he deleted contained several locked files that kept interrupting the trash-emptying process.

I responded to his query on the me@n list and later elaborated. It felt so much like the 90's when me@ners used to exchange tips and tricks online. These days there are countless webpages and blogs that provide a lot of information, and often with lovely graphics, so this sort of exchange has become less common.

Well, this is what we talked about:

cmd-option-shift-delete has been around since at least since OS8 (1998). I don't know if it was in System 7; anyone know?

In Finder,

  • cmd-delete = move selected item to trash
  • cmd-shift-delete = empty trash (with warning prompt; locked files not deleted)
  • cmd-option-shift-delete = empties trash without dialog, included locked files
  • Empty Trash cannot complete

    When emptying the trash of hundreds of files including some locked files, the "Empty Trash" process will be repeatedly interrupted by the "stop or continue" dialog box each time a locked file is being processed. This dialog box demands a mouse click response before continuing with the emptying of trash. The cmd-option-shift-delete avoids this entirely.

    In Tiger at least, you cannot drag or send a locked file to trash - you get the same "operation cannot be completed" dialog. However, you can lock a file while it is in the Trash. To get rid of it subsequently, it means unlocking the file or using cmd-option-shift-delete.

    Sometimes, some files persist for some strange reason. In which case I grab a 3rd party software from the net, e.g.:

    During startup, cmd-option-shift-delete will bypass the startup drive and boot from the next available disk with a valid OS ( e.g. a second hardisk or an external or CD).

    Inherent and 3rd party keyboard shortcuts are a must for power users who hardly need to touch their mouse. I remember thinking I was good in '99 until I saw Gregory Chan on my Powerbok 1400cs keyboard - boy was he was fast! It requires practise but the speed bump is usually worth it. Programmes like Microsoft Word allow customisation of keyboard shortcuts for almost all of their functions and formatting. If you are a frequent user, it makes a significance difference to use this.

    I lost all my Word 5.1/98 customisation when I stopped using Word - only had to pen and share short documents so used Text Editor/Text Wrangler instead. I am beginning to have to use Word again, so I am going to have to re-learn some of this.

    Keyboard shortcuts aren't for everyone though, some people love to crawl along with their mouse.

    For Finder shortcuts updated for Leopard, see: "Mac OS X Leopard: 200+ Productivity Booster Keyboard Shortcuts.", 21 Nov 2007.

    Posted at 6:12AM UTC by N. Sivasothi | permalink | , .