Rather than going through all your web-pages and SSI-scripts and looking for filenames, I'd first make a list of all files which are (or are likely) to be referenced in my web-pages.
Then, armed with this list, it is easy to do a straight search and replace for every filename on every line in your web-pages. You may even be able to collate your list of filenames automatically by recursively searching your web-pages tree.
You will have to watch out that you do not change filenames in the text itself, but it is my experience that you will find few or no filenames in the text of business-webpages.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
In reply to Re: Scripts to recursively reading in HTML files
by CountZero
in thread Scripts to recursively reading in HTML files
by mwhiting
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |