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
 
Reply to this topicStart new topic
> Renaming Files And Redirects
rforker
post Jul 14 2003, 01:26 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 14-July 03
Member No.: 1,099



I found on this site the following:

"Random Tips- Have you ever transfered files from Windows to Linux and noticed the file names were all changed to upper case. You can rename them to lower ..."

but there was nothing else and the link just took me back to the homepage. I need to know how to rename .htm, .html, .jpg and .gif files to lower case.

Also, since this is arising because my ISP switched from WinNT to Linux, my web address will be changing from http://users.cyberzane.net/rforker to www.cyberzane.net/~rforker.
He says there is no way to set up a redirect to the old address, which has been in the search engines for 8 years now along with a lot of the other pages.
Is this true? If not, how is it set up? And, does it have to be done for each page on the site?

Any help appreciated.
Rob Forker
Go to the top of the page
 
+Quote Post
Joey
post Jul 14 2003, 02:12 PM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



The command is:
CODE
perl -le 'rename $_, lc( $_ ) foreach <*>'


As for the redirect, you can put a meta refresh on the index html page. Have a look at http://www.pageresource.com/html/metref.htm
Go to the top of the page
 
+Quote Post

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: 20th October 2017 - 08:26 PM