diff options
-rwxr-xr-x | .local/bin/broken-links | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/bin/broken-links b/.local/bin/broken-links new file mode 100755 index 0000000..843f0ff --- /dev/null +++ b/.local/bin/broken-links @@ -0,0 +1,3 @@ +#!/bin/sh -eu +wget --spider --recursive --level 3 --no-verbose \ + --no-directories --delete-after "$1" 2>&1 | grep -v -E 'URL:|unlink:' |