ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@gmail.com>
Subject Re: Selecting the largest or oldest files in a directory
Date Wed, 08 Feb 2012 15:33:12 GMT
On Wed, Feb 8, 2012 at 7:08 AM, Harold Putman <hputman@lexmark.com> wrote:
> Is there a way to select the "n" largest files or the n oldest files in a
> directory?
> Looking through all the standard
> Selectors<http://ant.apache.org/manual/Types/selectors.html>I can't
> see a way to do this. Is there some "ant-contrib"-y place I could
> find a custom selector that does something like this?  Or do I need to
> write my own?
>

Hi, Harold--see http://ant.apache.org/manual/Types/resources.html#last .

HTH,
Matt

> Thanks,
>
> Harold
>
> --
> Harold PUTMAN
> Web Technology Specialist
> *Lexmark International, Inc. <http://www.lexmark.com>*
> 740 W New Circle Rd.
> Lexington, KY 40550
> +1(859) 232-2839
> hputman@lexmark.com

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


Mime
View raw message