Choosing a thoughtful gift is never easy, especially when it is for someone that you care about and want to make especially happy this season.
Chris Johnson is a web developer and technology consultant living outside of Madison, Wisconsin. He has been developing websites professionally since 2003 when he got his first paycheck as a freelancer. He believes that software development is a craft and an art form, not a science. He enjoys crafting clean code and showing what he has accomplished no matter the tools and materials. When he's not developing he enjoys tinkering with technology and mechanical things, photography, video games, playing hockey along with spending time with his wife, their daughters and their two dogs.
The other day a co-worker was talking about moving some of his sites to a cheap static web host. Most of the sites were either blogs, or CMSs that don’t change very often and don’t really need the overhead of a dynamic system. I thought back about a script I had written to do this a year or so back. The meat of the script was around a wget call which spidered a page, and then converted all the links to work with the new static documents.
So with this simple shell script you can specify where you want to save the converted site by replacing “folder_to_save” and then substituting the site you want to clone/mirror in for “mysite.com”