Browse Source

checklinks: zobrazit i jediný rozbitý odkaz

export_seznamu_prednasek
Pavel "LEdoian" Turinsky 2 years ago
parent
commit
1cd5310a32
  1. 2
      checklinks.sh

2
checklinks.sh

@ -15,4 +15,4 @@ cd "$tmp"
wget --spider -o "$logfile" -r -p -X '/soustredeni/*/fotogalerie/' "$@" || true # wget nejspíš skončí s chybou, že něco nestáhl…
echo "Result: (a last few lines of the file $logfile)"
sed -ne '/^Found [0-9]* broken links/,$ p' "$logfile"
sed -ne '/^Found [0-9]* broken link/,$ p' "$logfile"

Loading…
Cancel
Save