I\'m trying to write a bash script to generate lists of files. I figured I\'d simply call \'find\' within a loop. Unfortunately it generated a \"find: command not found\" er
It's looking for find in $PATH... which your script has destroyed.
find
$PATH