The problem is that if you try to rename this on Windows, it will not allow
it because it already perceives it as the same exact file, so there's no
need to rename anything. I think you have two options:
1. Rename it to a different name and then back to the one you want with the
right letter casing.
2. Rename it on the server.

If it's number 2, you can use Larry Wall's rename() and do "rename -e lc
*.html" or something.
Double check that.

On Mon, Feb 4, 2013 at 11:43 AM, Gabor Szabo <[email protected]> wrote:

> Hi,
>
> given a web site that was developed on a Windows machine with case
> insensitive
> filesystem. The files are in mixed case:
>
> Index.html
> Big Banner.jpg
> Background IMAGE.PNG
>
>
> It works on Windows, but when uploaded to Linux the pages are broken
> as the case
> of the images files don't match the case as they are used inside the
> .html files.
>
> Any suggestions how to fix this?
>
> Is there a tool out there to fix this?
>
> Is there a Perl script for this?
>
> Gabor
> _______________________________________________
> Perl mailing list
> [email protected]
> http://mail.perl.org.il/mailman/listinfo/perl
>
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to