Answers:
要回答您的问题,可以使用以下-o
选项:
expr1 -o expr2
Or; expr2 is not evaluated if expr1 is true.
expr1 -or expr2
Same as expr1 -o expr2, but not POSIX compliant.
像这样:
$ find . -maxdepth 1 -name "name1" -o -name "name2"
./name1
./name2
OPERATORS
了手册find
页的这一部分?