mirror of https://github.com/CrimsonTome/tldr.git
find: add searching multiple patterns simultaneously (#2589)
parent
ebb5439666
commit
3a97f27dbe
|
@ -6,6 +6,10 @@
|
||||||
|
|
||||||
`find {{root_path}} -name '{{*.ext}}'`
|
`find {{root_path}} -name '{{*.ext}}'`
|
||||||
|
|
||||||
|
- Find files by matching multiple patterns:
|
||||||
|
|
||||||
|
`find {{root_path}} -name '{{*pattern_1*}}' -or -name '{{*pattern_2*}}'`
|
||||||
|
|
||||||
- Find directories matching a given name:
|
- Find directories matching a given name:
|
||||||
|
|
||||||
`find {{root_path}} -type d -name {{*lib*}}`
|
`find {{root_path}} -type d -name {{*lib*}}`
|
||||||
|
|
Loading…
Reference in New Issue