Re: Scripting Additions: Embracing the Horror of Unix
Re: Scripting Additions: Embracing the Horror of Unix
- Subject: Re: Scripting Additions: Embracing the Horror of Unix
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 31 Jan 2002 12:35:15 -0800
On 1/31/02 2:26 AM, "Shane Stanley" <email@hidden> wrote:
>
But the X Finder is much faster script-wise, by all accounts. So maybe --
>
and I hope someone will try this -- the need for them has disappeared simply
>
because the performance gap has disappeared, or shrunk to the point of
>
pointlessness for everyone not named Knapp. Maybe the Finder is effectively
>
passing them on to the innards in a spritely fashion anyway.
Yes. I think I've said so a few times. I was one of the greatest detractors
of OS 8/9 Finder scripting. In the end I just used Akua for everything. So
far - and I have not tested exhaustively but just as things come up - the OS
X Finder scripting execution seems excellent. The biggest single improvement
of AS in OS X.
>
>
But that leaves deleteFile, the one I really miss. And that's because it
>
supplies extra functionality: the ability to bypass the Trash. That's a must
>
for scripts running on busy servers.
>
If that's the case, then it's now pointless: it can be done via do shell
>
script anyway, so there's no security at all. In fact, by forcing those of
>
us who need it to dabble in something we're not at home with, you could make
>
a fair argument that not allowing the Finder to delete directly is, as of X,
>
increasing the risk.
>
>
So although I know I'm probably wasting my time, I'd love the Finder team to
>
add a suitable "with extreme prejudice" parameter to the Finder's delete
>
command.
Agreed. In the meantime, we can all learn one single 'do shell script' and
this is the one to learn.
--
Paul Berkowitz