Rebhan, Gilbert wrote:

>Hi,
>
>i want to delete all subdirs but one dir should remain.
>
>for example :
>
>test
>     sub1
>     sub2
>     jars
>
>i want delete sub1 and sub2 but /jars should stay
>  
>

use <include/> and <exclude/> nested elements to define which dirs
should stay and which should be deleted using the  <delete/> Task

gl, jim Fuller

>I know how to include filenamepatterns with include / exclude but how to
>deal with directorys ?
> 
>
>Gilbert
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to