Re: itunes2 and applescript
Re: itunes2 and applescript
- Subject: Re: itunes2 and applescript
- From: John W Baxter <email@hidden>
- Date: Mon, 5 Nov 2001 17:20:58 -0800
At 22:00 +0100 11/3/2001, Christoph Ewering wrote:
>
Strange, I have installed it and had no problem, think I will get a
>
problem when I want to install the german-version.
>
>
Maybe Apple should think about pax (AFAIK this is the tool that installs
>
packages and has some nasty bugs or at least very bad modes)
Seemingly, this particular failure wasn't due to pax (for a change). It
was an unquoted parameter to a rm -rf command whose job was to get rid of
the old iTunes. Unfortunately, without the quotes, the command could be
quite devastating if the volume name contained spaces...or started with a
space (and I could probably craft some legal Mac volume names which would
cause problems WITH the quoting in place, but they may not be legal Mac OS
X volume names).
Third hand "information"...use at your own risk.
rm -rf ....
is an invitation to disaster: the -r says "delete directory(ies) and
contents"; the -f says "and don't ask for my approval". If the names in
.... aren't right, then...oops! I always take my hands off the keyboard
and think about the command for a while before I type the return on one of
these.
---John
--
John Baxter email@hidden Port Ludlow, WA, USA