laziness, impatience, and hubris | |
PerlMonks |
Re: converting absolute to relative linksby belize (Deacon) |
on Feb 03, 2001 at 21:53 UTC ( [id://56231]=note: print w/replies, xml ) | Need Help?? |
Maybe I am missing something, but why won't a simple "Find and Replace" within a text editor?
I use BBEdit on a Mac for coding, and it is as simple as finding: src="myserver.com/images/ and replacing with: src="../images/ or whatever is the correct path. You can perfoem this across multiple files/directories with specific suffixes so that you can zero in on the exact files that need the change. I don't code on a PC, but I am sure that there must be as powerful a search and replace function on one of the text/code editors.
In Section
Seekers of Perl Wisdom
|
|