So far, with my limited knowledge of Linux tools, I hit a wall. Because my list of files contains spaces, the "find" command fails.
searchdir="/volume2/" filename='list-in.txt' n=1 while read line; do echo "# $n : $line" FILES=${line%.*} find ${searchDir} -iname "$FILES.*" -type f n=$((n+1)) done < $filename I'm not sure where to go from here as awk or sed examples I found rarely deal with processing variables.