ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alx G <>
Subject how can I copy a directory of files to lower case equivalents?
Date Tue, 02 Oct 2007 11:09:59 GMT


Does anyone know if there's anything in Ant that can copy files from a
directory to another directory but change all the file names to lower case?


working/some_folder/etc/Blah.jpg => dist/some_folder/etc/blah.jpg
etc. for a whole load of files in various directories.

Perhaps there's something I can add to this?

<copy todir="${dist.dir}/images">
    <fileset dir="images"/>

If there's nothing in Ant directly, I'm going to have to write a PHP script
that does the renaming but I'd prefer not to create more scripts.

Any help would be much appreciated.

Many Thanks!

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message