blog/scripts/check-broken-links.sh

5 lines
107 B
Bash
Raw Normal View History

2020-11-03 23:23:50 +00:00
#!/bin/bash
DEFAULT="http://localhost:1313"
TARGET=${1:-$DEFAULT}
wget --spider -r -nd -nv -H -l 1 $TARGET