opensubscriber
   Find in this group all groups
 
Unknown more information…

u : user@ant.apache.org 27 March 2009 • 3:09AM -0400

Delete N directories that match a regexp
by Michael Delaney

REPLY TO AUTHOR
 
REPLY TO GROUP




I'm look for a way, with using ant "out of the box", to find a list of
directories and sort them via date then deleted the oldest three
directories.

Thus far I've been able to sort the directories, take the last three but
I can't seem to figure out how to delete the actual directory; see
attached build.xml for an example of how far I've gotten.

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.