[Israel.pm] Fix case in a directory structure

sawyer x xsawyerx at gmail.com
Mon Feb 4 01:53:08 PST 2013

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 <gabor at szabgab.com> 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
> Perl at perl.org.il
> http://mail.perl.org.il/mailman/listinfo/perl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.perl.org.il/pipermail/perl/attachments/20130204/00ca1061/attachment.htm 

More information about the Perl mailing list