ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kailash.Subraman...@alltel.com
Subject Renaming the directories recursively
Date Wed, 27 Mar 2002 02:37:59 GMT

I want to rename the directories only recursively. Basically, I want to
rename _com/_alltel/_ebusiness/........ to
com/alltel/ebusiness............... I checked out the documentation, and
figured out how to rename the files.

This is the code I am trying to useand it renames only the top most
directory leaving the subdirectories without renaming.
<target name="move" >
     <move todir="." >
     <fileset dir="." includes="**" >
     </fileset>
     <mapper type="glob" from="_*" to="*"/>
     </move>
     </target>

     Can somebody help me out ?
Thanks in advance.

Thx
Kailash


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message