change find command

This commit is contained in:
Roberto Cirillo 2023-01-17 09:07:12 +01:00
parent 0d030cc4ce
commit a759148f25
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
out=`find . -name '*.java' -exec grep '843339462' /dev/null {} +`
out=`find . -type f -exec grep '843339462' /dev/null {} +`
if [[ -n "${out}" ]]; then
echo "token found in: "
echo "${out}"