[Israel.pm] Fix case in a directory structure

Meir Kriheli mkriheli at gmail.com
Mon Feb 4 02:27:54 PST 2013


On *nix, you can use convmv:

convmv --lower ....

This will do a dry run printing results, to actually rename files, use the
--notest flag.

But It'll have to match the names on your html/css files (so might wanna go
all lower case there as well).

Cheers


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
>



-- 
Meir Kriheli
http://meirkriheli.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.perl.org.il/pipermail/perl/attachments/20130204/1d15d12f/attachment.htm 


More information about the Perl mailing list