On 30 March 2011 09:27, Thorsten Kampe wrote:
> * Christopher Faylor (Tue, 29 Mar 2011 11:35:33 -0400)
>> On Tue, Mar 29, 2011 at 05:33:05PM +0200, Thorsten Kampe wrote:
>> >As far as I know "-f" is already the default...
>>
>> If you're saying that "-f" is always active when you type "rm" then, no
* Dave Korn (Wed, 30 Mar 2011 00:11:05 +0100)
> And I just learnt about the `--preserve-root' option, that I didn't
> even know about before.
You mean "--preserve-root
do not remove `/' (default)" (quoting the man page)?
I wonder whether I will receive another "If you're saying that
* Christopher Faylor (Tue, 29 Mar 2011 11:35:33 -0400)
> On Tue, Mar 29, 2011 at 05:33:05PM +0200, Thorsten Kampe wrote:
> >* Dave Korn (Tue, 29 Mar 2011 14:46:13 +0100)
> >> On 29/03/2011 10:12, Thorsten Kampe wrote:
> >> As for "rm", it already does kind-of have safeguards against this, and
> >>
On 29/03/2011 16:35, Christopher Faylor wrote:
> On Tue, Mar 29, 2011 at 05:33:05PM +0200, Thorsten Kampe wrote:
>> * Dave Korn (Tue, 29 Mar 2011 14:46:13 +0100)
>>> On 29/03/2011 10:12, Thorsten Kampe wrote:
>>> As for "rm", it already does kind-of have safeguards against this, and
>>> that's what
On Tue, Mar 29, 2011 at 05:33:05PM +0200, Thorsten Kampe wrote:
>* Dave Korn (Tue, 29 Mar 2011 14:46:13 +0100)
>> On 29/03/2011 10:12, Thorsten Kampe wrote:
>> As for "rm", it already does kind-of have safeguards against this, and
>> that's what the -f option is for - it turns them off.
>
>As far a
* Dave Korn (Tue, 29 Mar 2011 14:46:13 +0100)
> On 29/03/2011 10:12, Thorsten Kampe wrote:
> As for "rm", it already does kind-of have safeguards against this, and
> that's what the -f option is for - it turns them off.
As far as I know "-f" is already the default...
Thorsten
--
Problem reports
On 29/03/2011 10:12, Thorsten Kampe wrote:
> * Dante Allegria (Mon, 28 Mar 2011 10:07:32 -0700 (PDT))
>> No, turns out it was because someone committed this into the nightly
>> build scripts:
>>rm -rf $(DOES_NOT_EXIST)/*
>>
>> Should cygwin's rm have some built-in safeguards for this? :)
>
>
On 3/29/2011 08:30, Dante Allegria wrote:
> Thorsten Kampe wrote:
>> Sure, it does. It's called "intelligent scripting" and it
>> includes setting "errexit" and "nounset" in bash or Z Shell.
>> If you are scripting
>> and not using those above, then you got exactly what you
>> deserved.
>
> Thank
Thorsten Kampe wrote:
> Sure, it does. It's called "intelligent scripting" and it
> includes setting "errexit" and "nounset" in bash or Z Shell.
> If you are scripting
> and not using those above, then you got exactly what you
> deserved.
Thanks for the tip, Thorsten! Any ideas what the best prac
* Dante Allegria (Mon, 28 Mar 2011 10:07:32 -0700 (PDT))
> No, turns out it was because someone committed this into the nightly
> build scripts:
>rm -rf $(DOES_NOT_EXIST)/*
>
> Should cygwin's rm have some built-in safeguards for this? :)
Sure, it does. It's called "intelligent scripting" an
On 3/28/2011 12:07, Dante Allegria wrote:
> --- On Mon, 3/28/11, Damon Register wrote:
>
>> this at a company. Is that so? Do you have an
>> aggressive IS department who might have decided they don't like Cygwin?
>
> No, turns out it was because someone committed this into the nightly build
>
--- On Mon, 3/28/11, Damon Register wrote:
> this at a company. Is that so? Do you have an
> aggressive IS department who might have decided they don't like Cygwin?
No, turns out it was because someone committed this into the nightly build
scripts:
rm -rf $(DOES_NOT_EXIST)/*
Should cygwi
On 3/28/2011 10:43 AM, Dante Allegria wrote:
We just discovered that a whole bunch of our Windows machines had
everything under their c:/cygwin directories deleted over the weekend.
You said "we" and "bunch" which leads me to believe that you are using
this at a company. Is that so? Do you hav
13 matches
Mail list logo