Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Renaming of webpages and links
October 13, 2004, 5:22 pm
rate this thread
migrated from a Windows server to a *nix one first. Trouble is, the previous
webmaster has used mixed case file names and links and been very
inconsistent about it.
Consequently there will be a lot of broken links amongst the 20,000 (yes
this is a static html to CMS conversion project) files.
Writing a perl script to just rename files to entirely lower case might not
be so hard but fixing the links in the HTML would be a bit tougher.
Surely someone else has met this problem before and written a bit of code to
If anyone has a neat solution for this that does not involve manually
renaming and editing files it would be absolutely fabulous to be told of it.