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: Shane Stanley <email@hidden>
- Date: Sat, 02 Feb 2002 13:52:00 +1100
On 2/2/02 9:45 AM +1000, Michael Sullivan, email@hidden, wrote:
>
I wouldn't say that. Something that's been robust enough for unix users
>
for years is the 'rm -f filename', or 'rm -Rf directoryname' that Greg Strange
>
posted yesterday.
>
>
Steve suggested that the recursive form could be dangerous if you
>
have links. If it follows them, then he'd be right, you'd have to
>
either find a utility that won't follow the links or hopefully a switch
>
in rm or just be aware of it when you call the routine.
>
>
I looked and the SCO server we run here doesn't mention this issue at
>
all in the rm man page, so clearly there's no switch for it on that, and it's
>
not clear whether it's an issue there, which still doesn't answer the question
>
for OSX.
I guess it's this sort of thing that makes me nervous about diving in
myself. If those with experience aren't sure, then I'm loathe to back my own
judgment.
--
Shane Stanley, email@hidden