ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akbar Ibrahim" <>
Subject Copying and renaming
Date Mon, 25 Sep 2000 11:36:09 GMT

I would like to copy files and rename them at the same time.

For example, I want to copy all *_abc.txt files (from a src directory tree)
to *_123.txt files (in a dest directory tree). ie

src/f_abc.txt  -> dest/f_123.txt
src/dir/g_abc.txt -> dest/dir/g_123.txt

I looked at the copy, copydir and rename tasks but could not find out any
way of doing this.

Is this possible ? I have ant 1.1  (compiled on July 18 2000)


View raw message