How to build regex for find command with OR
I would like to run one find command and find all files with .pdf or .doc file. I can get it to return them individually but I can't do it in one command. Can someone help me please?
Here is what I have: Code:
$ find . -iregex ".*\.pdf" |
add an -o
Code:
find . -iregex ".*\.pdf" -o -iregex ".*\.doc" for details |
All times are GMT -5. The time now is 03:05 AM. |