Hello,

I am trying to automate my environment a little more and thought to do the following:

In directory $foo$ take file [\d\d\d\d-\d\d-\d\d zzz_today.ico] and rename it to [yyyy-mm-dd zzz_today.ico] filling in the actual current date. Further I'd like to rename another file [\d\d\d\d-\d\d-\d\d zzz_one week.ico] to [yyyy-mm-dd zzz_one week.ico], obviously meaning the actual current date plus seven days.

Guess I should be able to do it with some form of

<move todir="$foo$"...>
    <mapper type="regexp" .../>
</move>

but I am somewhat lost. I'd like to do it with the tasks provided if possible instead of writing my own task. All kinds of help/ advice/ examples appreciated, of course.

thx, Erik

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

Reply via email to