blog/scripts/check-broken-links.sh
2021-06-30 01:41:11 -05:00

4 lines
107 B
Bash
Executable file

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