find file in bash script code example
Example 1: bash find file in directory
$ ls -R | grep -i "pattern"
Example 2: bash find file
# syntax
# find *</path/to/dir> '(' *<filter-1> -o *<filter-2> ')'
# example
find . '(' -name '*ERR5312209.zip' -o -name '*ERR5312209.TXT' ')'