From ea69a6732d20b7c03c8c36c89ef9e9f7cc37545b Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Mon, 15 Feb 2021 22:11:57 -0600 Subject: [PATCH] print file name for easier manual fixing --- wiki-tools/brokenlinks.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wiki-tools/brokenlinks.sh b/wiki-tools/brokenlinks.sh index 665778c4..ca40acf2 100644 --- a/wiki-tools/brokenlinks.sh +++ b/wiki-tools/brokenlinks.sh @@ -22,6 +22,7 @@ searchfile() { if ls "$link" 2>/dev/null >/dev/null; then continue else + echo "In $1:" echo $link FILES=$(find . -iname "*$(basename "$link")*") if [ $(echo -n "$FILES" | wc -c) -lt 1 ]; then @@ -37,6 +38,7 @@ searchfile() { continue fi fi + echo "In $1:" echo $link FILES=$(find . -iname "*$(basename "$link")*") if [ $(echo -n "$FILES" | wc -c) -lt 1 ]; then