The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Using Perl to add hyperlink to html files Raynon Shell Programming and Scripting 17 11-01-2007 05:03 AM
Moving Files iAm4Free Shell Programming and Scripting 5 03-28-2007 05:13 AM
moving between vi files aya_r Shell Programming and Scripting 2 08-23-2005 05:36 AM
moving files ?? rocker40 UNIX for Dummies Questions & Answers 9 11-09-2003 08:36 PM
moving only files... sskb UNIX for Dummies Questions & Answers 12 11-19-2001 03:28 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-21-2000
Buddy123 Buddy123 is offline
Registered User
  
 

Join Date: Dec 2000
Posts: 1
Question

Hi,

I use a Windows-based program called <a href="http://www.coast.com">Coast Webmaster</a> for moving large numbers of HTML files in one directory to another directory. As you drag and drop each file or entire directory of files to new locations in the web root directory tree, this utility will find every <b>a href=</b> and <b>img src=</b> hyperlink in every HTML page and re-write it so the paths are correct. Very handy, but it does require you to do all your changes locally and then upload the pages into their new directories on your web server.

My question is this: Since I use BSDI Unix ISS4 for my web server, does anyone here know of a Unix-based program or Perl script that will allow me to move individual .html pages, or entire directories containing .html pages, to a new directory AND that will re-write all the local page and image links contained in those .html pages?


Buddy123
  #2 (permalink)  
Old 12-21-2000
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,726
I use MGET for a similar purpose. It will get HTML files both locally and remotely and rewrite the URLs to work locally. However, what I use MGET for is to grap an entire web site so I can burn it do CDROM. It can be used for simply moving files and rewriting URLs as you indicated.

MGET is command line freeware that compiles under GCC. It is very feature rich for working with HTML files.

[Edited by Neo on 12-21-2000 at 03:03 PM]
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0