for i in *; do
  if test -d "${i}"; then
    continue
  fi
  printf '"%s" is not a directory.\n' "${i}"
done
