Re: itunes2 and applescript (Off)
Re: itunes2 and applescript (Off)
- Subject: Re: itunes2 and applescript (Off)
- From: What does not kill you only makes you stronger <email@hidden>
- Date: Mon, 05 Nov 2001 21:01:43 -0600
on 11/05/01 7:20 PM, email@hidden wrote:
>
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.
>
Non - AS related:
A few weeks back, on a *testing/beta* mac at work - I booted into Mac OS X,
launched Terminal, su-ed to root, and ran 'rm -rf /'. Now that is a command!
Running this completely removed all files and folders on both partitions
(except for a few locked files) within a few seconds. It left Mac OS X
standing on anything that was loaded in memory at the time, and was pretty
much so useless after that. It's one of those commands you wonder - Why is
this command even available to *any* user?
Suffice it to say, I now feel a bit more nervous when I am deleting
directories through the command line, and have developed a *bit* more
respect and caution for root, and appreciation of a good backup.
Nate