You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Mary Milne <mm...@cambridge.org> on 2006/03/10 15:39:41 UTC

Change filesnames from upper 2 lower case

hi

i'm new to ant but learning to love it. i've checked the archive for this 
question but couldn't find an answer so. 

i have files named:

        MYZIPFILE.zip

and i want

        myzipfile.zip

and ideally i'd like

        MyZipFile.zip

any help appreciated.

Thanks

Re: Change filesnames from upper 2 lower case

Posted by Steve Loughran <st...@apache.org>.
Mary Milne wrote:
> hi
> 
> i'm new to ant but learning to love it. i've checked the archive for this 
> question but couldn't find an answer so. 
> 
> i have files named:
> 
>         MYZIPFILE.zip
> 
> and i want
> 
>         myzipfile.zip
> 
> and ideally i'd like
> 
>         MyZipFile.zip
> 
> any help appreciated.
> 
> Thanks
> 

a copy command to a new directory will fix the name.

It has to be an empty directory; a rename in the same dir may cause you 
to encounter quirks in how windows does case-insensitive filename mapping

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