-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2014-08-21 at 22:34 -0700, Lew Wolfgang wrote:
historical reference at a different domainname. For example, the domain hosting the new content would be foobar.org, the one I want to keep for history would be foobar.info. So I need to go through the old html and substitute any references of foobar.org to foobar.info. There are 3705 separate lines in probably 1000 files in a large filesystem hierarchy containing the string that needs swapping. I'd rather not do it by hand!
What would you use? awk? A shell script? Something using grep and sed?
wget. It can do a mirror of a site, sanitizing the old domain for the new, I think. At least when creating a local mirror to a directory. I used this years ago, I don't remember the details. - -- Cheers, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlP3asEACgkQtTMYHG2NR9XmCgCeO1+FQ7fuoaKAeh4JQQHJM6fR VygAnAtPbrm7QoXKrf4sXYBTo/3RIR1h =vP01 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org