AW: Delete recursive directories

2006-07-06 Thread Jan.Materne
>I remember working on a shared unix cluster where someone as >root did an rm -rf /bin instead of (in a temp dir) rm -rf bin > >There was this pause while it took too long, they realised >what what happened and ^C'd it, but by then it was too late. >Suddenly all these people in their cube jump u

Re: Delete recursive directories

2006-07-06 Thread Steve Loughran
Kev Jackson wrote: On 5 Jul 2006, at 23:21, Steve Loughran wrote: Alexey Solofnenko wrote: I would like it to be default with . It is [almost] always required. It's there to stop you destroying your source. you can go and although your filesystem is doomed, we will at least preserve your

Re: Delete recursive directories

2006-07-05 Thread Kev Jackson
On 5 Jul 2006, at 23:21, Steve Loughran wrote: Alexey Solofnenko wrote: I would like it to be default with . It is [almost] always required. It's there to stop you destroying your source. you can go and although your filesystem is doomed, we will at least preserve your CVS and svn metad

Re: Delete recursive directories

2006-07-05 Thread Alexey Solofnenko
Now I feel safe! :-) - Alexey. On 7/5/06, Steve Loughran <[EMAIL PROTECTED]> wrote: Alexey Solofnenko wrote: > I would like it to be default with . It is [almost] always > required. It's there to stop you destroying your source. you can go and although your filesystem is doomed, we will at

Re: Delete recursive directories

2006-07-05 Thread Steve Loughran
Alexey Solofnenko wrote: I would like it to be default with . It is [almost] always required. It's there to stop you destroying your source. you can go and although your filesystem is doomed, we will at least preserve your CVS and svn metadata :) ---

Re: Delete recursive directories

2006-07-05 Thread Alexey Solofnenko
I would like it to be default with . It is [almost] always required. - Alexey. On 7/5/06, Dominique Devienne <[EMAIL PROTECTED]> wrote: Ah, I forgot about defaultexcludes! I have to remember that .svn is in there now. Thanks Alexey. --DD -- Alexey N. Solofnenko trelony at gmail.com home:

Re: Delete recursive directories

2006-07-05 Thread Dominique Devienne
Ah, I forgot about defaultexcludes! I have to remember that .svn is in there now. Thanks Alexey. --DD On 7/5/06, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote: This is a question for user list. With you need to set two attributes defaultexcludes="false" and includeemptydirs="true". - Alexey.

Re: Delete recursive directories

2006-07-05 Thread Arminio Andrei
Yes, you right! Thanks! "Alexey N. Solofnenko" <[EMAIL PROTECTED]> wrote: This is a question for user list. With you need to set two attributes defaultexcludes="false" and includeemptydirs="true". - Alexey. Arminio Andrei wrote: > I read the manual but not so intuitive. I solved my problem si

Re: Delete recursive directories

2006-07-05 Thread Alexey N. Solofnenko
This is a question for user list. With you need to set two attributes defaultexcludes="false" and includeemptydirs="true". - Alexey. Arminio Andrei wrote: I read the manual but not so intuitive. I solved my problem simple: since I runt the ant script on a linux box I use task to execute a si

Re: Delete recursive directories

2006-07-05 Thread Arminio Andrei
I read the manual but not so intuitive. I solved my problem simple: since I runt the ant script on a linux box I use task to execute a simple script with this command "find . -name ".svn" | xargs rm -rf". I will try later to figure out if is possible to use the task with that pattern Thx Dom

Re: Delete recursive directories

2006-07-05 Thread Dominique Devienne
Please read the manual entry for Arminio. Consider using a pattern similar to **/.svn/** and using the attribute that control inclusion or not of empty dirs. --DD On 7/5/06, Arminio Andrei <[EMAIL PROTECTED]> wrote: Hi, How can I delete recursive a directory starting from a parent directory?

Delete recursive directories

2006-07-05 Thread Arminio Andrei
Hi, How can I delete recursive a directory starting from a parent directory? I have this tree Parent - |- .svn |- Dir1 |- .svn |-Dir2 . . I want to delete .svn direcory form all child directories Have a nice day, Arminio