Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Windows to Linux server conversion, Uppercase to lowercase
Jude
post Jun 23 2009, 07:27 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 23-June 09
Member No.: 14,517



I hope this is not a beaten horse, but I cannot seem to find any information about it online...

...recently a friend moved his site from a windows server to a linux one based on the recommendation of his new shopping cart. The problem is that when he put his site together, many years ago, he used capital letters in the names of his directories and filenames. This is now causing tons and tons of broken links. Is ther a program or technique known that can help with this? Is the only option to go through all the lines of code manually changing upcase names to lowercase?

Any assistance is appreciated.

Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
michaelk
post Jun 23 2009, 05:57 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



It is very easy to create a simple bash script using sed for example that will perform a search and replace and you can find lots of help by googlng.
Go to the top of the page
 
+Quote Post
robert83a1
post Jun 24 2009, 04:43 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 8-August 03
Member No.: 1,232





See this : http://webxadmin.free.fr/article/shell-ren...to-lowe-135.php

Sincerely
Robert B
Go to the top of the page
 
+Quote Post
Jude
post Jun 24 2009, 07:58 AM
Post #4


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 23-June 09
Member No.: 14,517



QUOTE (robert83a1 @ Jun 24 2009, 04:43 AM) *


Thank you so much for the response. It looks to me like that program changes the file names. What i want to do is change the filenames IN the html code, not the actual file names. Is there anything that can do this?
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2017 - 01:02 AM