Hi,
-----Original Message----- From: Alx G [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 02, 2007 1:10 PM To: user@ant.apache.org Subject: how can I copy a directory of files to lower case equivalents? /* Hi, 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? */ also possible with filtermapper, taken from antmanual slightly adapted = <!-- // Properties --> <property name="srcdir" value="Y:/test"/> <property name="destdir" value="Y:/test_"/> <!-- Properties // --> <target name="depends"> <copy todir="${destdir}"> <fileset dir="${srcdir}" includes="**/*.*"/> <filtermapper> <scriptfilter language="beanshell"> self.setToken(self.getToken().toLowerCase()); </scriptfilter> </filtermapper> </copy> but dir's get lowercase also Regards, Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]