ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: HOWTO: delete files older then ...
Date Wed, 23 May 2001 19:39:40 GMT
--- Jay Glanville <> wrote:
> How do I delete a file that's older then, either a specific date, or x
> days ago, or something like that?

You could do an <exec> with 'find', put the results out to a file, then
use that as the includesFile for <delete> (but it wouldn't be useable on
Win* boxes). Or you could look into using the "culler" stuff that David
Rees submitted awhile back:



Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices

View raw message