diff --git a/checklinks.sh b/checklinks.sh
new file mode 100755
index 00000000..98c5e4af
--- /dev/null
+++ b/checklinks.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Props to https://www.commandlinefu.com/commands/view/8234/check-broken-links-using-wget-as-a-spider
+set -eu
+
+tmp=$(mktemp --directory)
+cd "$tmp"
+
+wget --spider -o wget.log -r -p -X '/soustredeni/*/fotogalerie/' "$@"