Using wget to detect broken links

To make sure I didn’t forget any images in the blog migration, I used wget to detect broken links. Better safe than sorry! Simply run:

wget -r -nv --spider http://ngeor.net/ -o log.txt

And you get the report of the broken links in log.txt.

Turns out I had to adjust a couple of permalinks after all.

If you’re on a Mac, use HomeBrew to install wget.