Isso funciona:
clear
echo "Your filesystem is threatned, files should be moved in order to guarantee safety!!!!"
while read file; do
if [[ -f "$file" ]]; then
echo "File is safe to secure"
break
else
echo "Too late, we lost the file, safe another!"
fi
done
echo "Time is running out, we must secure this file inmidiately, quick give me a safe location!"
while read path; do
if [ -d "$path" ]; then
echo "the location is secure! Move the file!"
break
else
echo "Either the file or the safehouse is corrupt, quick try again!"
fi
done
Você precisa adicionar break
declarações para sair do loop quando um arquivo / caminho válido for encontrado. Além disso, não use CAPITALS para nomes de variáveis.