From 3a97f27dbeeb7816e52b381fbab8fc0e5f6a38ec Mon Sep 17 00:00:00 2001 From: Alexander Berezovsky <42983344+ab-pivot@users.noreply.github.com> Date: Thu, 15 Nov 2018 13:33:41 -0800 Subject: [PATCH] find: add searching multiple patterns simultaneously (#2589) --- pages/common/find.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/find.md b/pages/common/find.md index c90af6121..25aa5b454 100644 --- a/pages/common/find.md +++ b/pages/common/find.md @@ -6,6 +6,10 @@ `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 {{root_path}} -type d -name {{*lib*}}`