• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: itunes2 and applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: itunes2 and applescript (Off)
      • From: What does not kill you only makes you stronger <email@hidden>
References: 
 >Re: itunes2 and applescript (From: Michelle Steiner <email@hidden>)
 >Re: itunes2 and applescript (From: Christoph Ewering <email@hidden>)

  • Prev by Date: Re: Make an AppleScript XML-RPC App Possible???
  • Next by Date: Re: vdate
  • Previous by thread: Re: itunes2 and applescript
  • Next by thread: Re: itunes2 and applescript (Off)
  • Index(es):
    • Date
    • Thread