while true; do
echo "You have chosen to spec.... '/path/../'"
read
if [ -d "$REPLY" ]; then
find "$REPLY" -type f -printf '%TY-%Tm-%Td %.8TT %p\n '| sort -r | head -20
break
else
echo "could not find $REPLY, ensure the path is correct and try again"
echo "press enter to continue..."
read cont
fi
done