m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/find.md
diff options
context:
space:
mode:
authorMartin Chrzanowski <martin@celo.org>2019-01-30 15:41:41 -0800
committerMartin Chrzanowski <martin@celo.org>2019-01-30 15:41:41 -0800
commite236a64b384f3e5c5c7064e936ccea00048ad5ea (patch)
treef20eaa65731df37f4113e3bd21bcc00e6a740d8f /find.md
parent7053c6f1beab24d27dc3f9c7445d0856ce4ab03c (diff)
Add regex match in find
Diffstat (limited to 'find.md')
-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