Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Direcotry Delete based on pattern

Direcotry Delete based on pattern

2003-03-17       - By Chris Reeves
Reply:     1     2     3     4     5     6     7     8  

I have a load of directories, all with numeric names (e.g. 123, 734,
231) - hundreds of them.

I need to delete all these directories, while leaving any directories
with non-numeric names intact.

I thought I could use a patternset, but that won't do it. Any
suggestions?

Chris

----------------------------------------
Chris Reeves
Senior Software Developer
Medfusion, Inc.
creeves@(protected)
----------------------------------------


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.