Help - Search - Members - Calendar
Full Version: Renaming Files And Redirects
Linuxhelp > Support > Technical Support
rforker
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
Joey
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.