[Israel.pm] Fix case in a directory structure
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:
> given a web site that was developed on a Windows machine with case
> filesystem. The files are in mixed case:
> 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?
> Perl mailing list
> Perl at perl.org.il
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Perl