bash find files and operator
# syntax
# find *</path/to/dir> '(' *<filter-1> -a *<filter-2> ')'
# example
find . '(' -name '*ERR5312209.zip' -a -name 'ANDROID_ERR*.TXT' ')'
4.33
3
# syntax
# find *</path/to/dir> '(' *<filter-1> -o *<filter-2> ')'
# example
find . '(' -name '*ERR5312209.zip' -o -name '*ERR5312209.TXT' ')'
Thank you!
3
0
Are there any code examples left?
New code examples in category Shell/Bash