#!/usr/bin/env bash out=`find . -name '*.gcubekey' /dev/null {} +` if [[ -n "${out}" ]]; then echo "gcubekey found in " echo "${out}" else echo "gcubekey not found" fi