Re: Deleting locked files
Re: Deleting locked files
- Subject: Re: Deleting locked files
- From: Nigel Garvey <email@hidden>
- Date: Sun, 21 Jan 2001 01:26:32 +0000
Paul Berkowitz wrote on Sat, 20 Jan 2001 15:28:24 -0800:
>
I just discovered something interesting:
>
>
Although you cannot empty the trash with a locked file in it, nor will Jon's
>
Commands deleteFile nor Akua's collate with deletion oblige,
Well...
tell application "Finder"
deleteFile (every file of the trash) as list with unlocking
-- or, to clear everything, including loaded folders:
deleteFile (contents of the trash) as list with unlocking without
safety net
end tell
>
you _can_ use
>
Stuffit Commands to stuff it with deleting originals, then delete the
>
stuffed file with one of the methods above, and it works.
I like it. It's eccentric. Very Knappish. :-)
NG