ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kev Jackson <kevin.jack...@it.fts-vn.com>
Subject Re: Scp is this possible?
Date Wed, 10 May 2006 05:41:57 GMT
Atsuhiko Yamanaka wrote:

> Hi,
>
> 2006/5/10, Kev Jackson <kevin.jackson@it.fts-vn.com>:
>
>> Damnit!
>>
>> "selectors are not supported on remote filesets"
>>
>> Basically that's what I need, the ability to select the files based on
>> the last modified - I don't want to pull back files if they are not
>> within the search criteria :(
>
>
> By following task, I can get only newer files matched with "*.log" on
> the remote 'home/weblogic/logs' and save to ${basedir}.
>
> <sftp action="get"
>         trust="true"
>         server="${host}"
>         userid="${user}"
>         password="${password}"
>         depends="yes"
>         remotedir="/home/weblogic/logs">
>   <fileset dir="${basedir}" >
>     <include name="*.log"/>
>  </fileset>
> </sftp>
>
> # Please note that 'depends="yes"'.
>
> Does it not work on your environment or is it enougth?

By itself this works fine, the problem is that i need

<fileset dir="${basedir}">
  <date datetime="2006-05-10" when="after" pattern="YYYY-MM-DD"/>
</fileset>

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


Mime
View raw message