blog/scripts/check-broken-links.sh
2020-11-03 17:23:50 -06:00

5 lines
108 B
Bash
Executable file

#!/bin/bash
DEFAULT="http://localhost:1313"
TARGET=${1:-$DEFAULT}
wget --spider -r -nd -nv -H -l 1 $TARGET