ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Shea <m...@nitido.com>
Subject Re: renaming files
Date Tue, 19 Oct 2010 16:03:09 GMT
I believe you should look here:
http://ant.apache.org/manual/Types/mapper.html

(check out the globmapper).


Mike Shea.

> I am wondering if there is a way to take a bunch of files and change the name
> of them without having to do them one at a time.
>
> this is an example of what i want to do:
>
> example.jpg (could be html files, css files, etc) to example.1.jpg
>
> I am looking to have files match the build number.  I know i can just copy
> the file if I name each one, but there are a few hundred files and this
> could make for a ugly looking target.
>
>
>    


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


Mime
View raw message