/FindAndExec

Find Files and Exec command

Primary LanguageC#MIT LicenseMIT

FindAndExec

Find files that match with a regex pattern and exec a command

Example

check-code.bat:

set "uniqueFileName=%tmp%\check-code.tmp"
set BASE_DIR=D:\Dev\symfony-backend\src\
FindAndExec.exe %BASE_DIR% ".php$" php.exe "-l {}" > %uniqueFileName%
cat %uniqueFileName% | grep -v "No syntax errors detected in"
beep.bat