blog/scripts/check-broken-links.sh

6 lines
108 B
Bash
Executable File

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