m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--find.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/find.md b/find.md
index a8b840a..f69f25c 100644
--- a/find.md
+++ b/find.md
@@ -3,3 +3,7 @@
## Ignoring directories
find . -not -ipath "dir/*"
+
+## Regex match
+
+ find . -regex pattern # matches whole path