If move does not do it, copy in combination with a (regex) mapper
should. Maybe something like this would do:
1. Copy all your files from the source dir to the temp dir, apply a
regex mapper.
2. Delete the source dir
3. Copy the temp stuff back to the source dir.
Like Matt said, more information is needed be able to figure out
exactly what should work.
F
On Aug 06, 2008, at 11:15, IsaakTaylor wrote:
Hello,
I have a directory with some subdirectories (and they have also
subdirectories). They contain about 260 files. I need to rename
some of the
files. I don't want to rename every file separate. Is there a ant
way to do
this?
I looked up at ant move, but I think its not possible with the move
task.
Could you please help me?
regards Isaac
--
View this message in context: http://www.nabble.com/rename-files-in-
directory-and-subdirectory-tp18853422p18853422.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]