ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean \(Xuong\) Phu" <>
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="**\*" />

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message