Oh yes! I got it working with
There is an example from Rob Anderson included in the email thread for this
topic. It uses to do the math and in to do the
selection.
Bill
-Original Message-
From: Elaine Fortin [mailto:[EMAIL PROTECTED
ib:
>
> find ./feeds -name myFilename* -mtime +10 -exec mv '{}'
>./feeds_backup \;
>
>
>Peter
>
>On 11/15/06, Elaine Fortin <[EMAIL PROTECTED]> wrote:
>> This looks very good. I do have antcontrib but I see that the 'for'
>> task isn
You could easily change this to move files older than 10 days. Note that
this makes use of the task from the ant-contrib project
(http://ant-contrib.sourceforge.net/tasks/tasks/index.html)
I hope this helps.
-Rob Anderson
> -----Original Message-
> From: El
Of course, that's a paste error. It should have read:
At 11:35 AM 11/15/2006 -0800, you wrote:
You may not put "find" in the part.
-Original Message-----
From: Elaine Fortin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 15, 2006 11
I am trying to create an Ant script to move files that are 10 days old to a
backup directory.
I cannot find how to do this purely in Ant, but I know that the Unix 'find'
works.
Ant returns the error: "[exec] /bin/find: incomplete statement"
when I issue the following: