RE: AW: Ant exec find -exec problem

2006-11-16 Thread Elaine Fortin
] Sent: Thursday, November 16, 2006 8:08 AM To: Ant Users List Subject: Re: AW: Ant exec find -exec problem With the attribute of , how do I specify " today less ${requested.days} " ? I don't see any way of doing math functions on dates in Ant. Thanks, Elaine At 01:26 PM 11/16/

RE: AW: Ant exec find -exec problem

2006-11-16 Thread bill/wilandra
: Ant exec find -exec problem With the attribute of , how do I specify " today less ${requested.days} " ? I don't see any way of doing math functions on dates in Ant. Thanks, Elaine At 01:26 PM 11/16/2006 +0100, you wrote: >In Ant you should not think about what to do with each s

Re: AW: Ant exec find -exec problem

2006-11-16 Thread Elaine Fortin
at once. Move multiple files with "select" old files using Jan >-Ursprüngliche Nachricht- >Von: Peter Reilly [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 15. November 2006 22:14 >An: Ant Users List >Betreff: Re: Ant exec find -exec problem > >three a

AW: Ant exec find -exec problem

2006-11-16 Thread Jan.Materne
>An: Ant Users List >Betreff: Re: Ant exec find -exec problem > >three answers: >1) you do not need to escape the args for find as > you are not using a shell: > > ./feeds_backup;"/> >2) for is only for ant1.6+ so to avoid confusion with ant1.5 it > is onl

RE: Ant exec find -exec problem

2006-11-15 Thread Anderson, Rob (Global Trade)
f 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: Elaine Fortin [mailto:[EMAIL PROTECTED] > &g

Re: Ant exec find -exec problem

2006-11-15 Thread Peter Reilly
0 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: Elaine Fortin [mailto:[EMAIL PROTECTED] > > Se

RE: Ant exec find -exec problem

2006-11-15 Thread Elaine Fortin
aine Fortin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 15, 2006 11:21 AM > To: user@ant.apache.org > Subject: Ant exec find -exec problem > > 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

RE: Ant exec find -exec problem

2006-11-15 Thread Elaine Fortin
:21 AM To: user@ant.apache.org Subject: Ant exec find -exec problem Importance: Low 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] /

RE: Ant exec find -exec problem

2006-11-15 Thread Anderson, Rob (Global Trade)
> Sent: Wednesday, November 15, 2006 11:21 AM > To: user@ant.apache.org > Subject: Ant exec find -exec problem > > 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

RE: Ant exec find -exec problem

2006-11-15 Thread Chun Ji
You may not put "find" in the part. -Original Message- From: Elaine Fortin [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 11:21 AM To: user@ant.apache.org Subject: Ant exec find -exec problem Importance: Low I am trying to create an Ant script to move file

Ant exec find -exec problem

2006-11-15 Thread Elaine Fortin
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: