ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean \(Xuong\) Phu" <dreamyw...@yahoo.com>
Subject Delete Directory Matching A Pattern
Date Wed, 18 Oct 2006 21:25:20 GMT
Is there a way to delete a set of directories and
subdirectories matching a pattern?
For example, I want to delete "blah1234" and
"blahabcdefg" since they both begins with "blah".

I tried to use the following to delete any directory
named with "blah*", but it didn't work.
        <delete includeEmptyDirs="true">
            <fileset dir=".\**\blah*">
                <include name="**\*" />
            </fileset>
        </delete>

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message