aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/broken-links
blob: 843f0ff677f1a6b608e0560307c5e710390323cb (plain)
1
2
3
#!/bin/sh -eu
wget --spider --recursive --level 3 --no-verbose \
  --no-directories --delete-after "$1" 2>&1 | grep -v -E 'URL:|unlink:'