gCubeActions/16-01-2023-grepkeys/greptoken.sh

9 lines
187 B
Bash

#!/usr/bin/env bash
out=`find . -type f -exec grep '843339462' /dev/null {} +`
if [[ -n "${out}" ]]; then
echo "token found in: "
echo "${out}"
else
echo "token not found"
fi