mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 17:22:10 +02:00
find: add searching multiple patterns simultaneously (#2589)
This commit is contained in:
parent
ebb5439666
commit
3a97f27dbe
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue