print file name for easier manual fixing

This commit is contained in:
David Holdeman 2021-02-15 22:11:57 -06:00
parent d3419affdb
commit ea69a6732d
1 changed files with 2 additions and 0 deletions

View File

@ -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