ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject [delete] dir, delete all but one subdir
Date Thu, 09 Jun 2005 10:23:48 GMT

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

I know how to include filenamepatterns with include / exclude but how to
deal with directorys ?
 

Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message