ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guru Balse <guru.ba...@oracle.com>
Subject Re: Age of files/directories
Date Thu, 06 Jul 2006 14:37:41 GMT
Thanks, Antoine. 

Focusing on "PatternSets", I completely missed the "Selectors" part of 
the manual :-)     duh!

Antoine Levy-Lambert wrote:
> Hello Guru,
>
> use the delete task with nested fileset(s) nesting themselves a date
> selector.
>
> Read the "Concept and Types" section of the ant manual, all the cool
> stuff is there.
>
> Antoine
>
> Guru Balse wrote:
>   
>> From a given directory, I wish to delete any directory that is of a
>> certain age (example: more than 7 days old).  I could not find any
>> task/macro/addin that will support this requirement.
>>
>> Any suggestions?
>>
>> Thanks in advance.
>>
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>   


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


Mime
View raw message