find . -type f ! -path "./.gradle/*" ! -path "./.repo/*" ! -path "./.idea/*" ! -path "./.git/*" ! -path "./*/*/build/*" ! -path "./*/.git/*" ! -path "./*/build/*" | xargs grep "sz.beautystore" > ../result
-type f - Specify to find that you only want files in the results
-name "*_peaks.bed" - Look for files with the name ending in _peaks.bed
! -path "./tmp/*" - Exclude all results whose path starts with ./tmp/
! -path "./scripts/*" - Also exclude all results whose path starts with ./scripts/
grep -n -r --exclude-dir='node_modules' --exclude-dir='logs' --exclude="nohup.out" 192 *