So a need has arisen. I’ll need to:

  • Find all files in a remote directory that match ~somepathhere/*htm/printable
  • insert into the base href="" my new desired base href
  • modify the path to the stylesheet in each to replace “../../” with the full path
  • rename each from /printable to /index.html

I’m going to try to do this with Ruby. More as I get started.

Oh, and I’ve switched books for the moment. For now I’m reading why’s (poignant) guide.

Leave a Reply