diff options
author | tdro <tdro@users.noreply.github.com> | 2021-02-13 03:31:58 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2021-02-13 03:31:58 -0500 |
commit | 8943036a74799aba87e608e62e56c6f56b34adbe (patch) | |
tree | f66c9c32da30ab3cb7f864758ec434ec7094c8da | |
parent | 47f2921129cf585c32712940e7824435aa3b2845 (diff) | |
download | dotfiles-8943036a74799aba87e608e62e56c6f56b34adbe.tar.gz dotfiles-8943036a74799aba87e608e62e56c6f56b34adbe.tar.bz2 dotfiles-8943036a74799aba87e608e62e56c6f56b34adbe.zip |
.local/bin: Add broken link checker
-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:' |