From 6afbde3c2dc384f6ac9226372ab51525adf2e545 Mon Sep 17 00:00:00 2001 From: "Peter C. S. Scholtens" Date: Tue, 31 Jan 2023 09:57:10 +0100 Subject: [PATCH] Update find.md (#1783) * Update find.md Example to look very detailed in the past using a before and after condition. * Update find.md Co-authored-by: kang <1115610574@qq.com> --------- Co-authored-by: kang <1115610574@qq.com> --- find.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/find.md b/find.md index 3915579d3..242bf3150 100644 --- a/find.md +++ b/find.md @@ -66,7 +66,7 @@ These conditions only work in MacOS and BSD-like systems (no GNU/Linux support). ### Condition flow ```bash -\! -name "*.c" +\! -name "*.c" # NOT named "*.c" \( x -or y \) ``` @@ -91,4 +91,5 @@ find . -newerBt "24 hours ago" ```bash find . -type f -mtime +29 # find files modified more than 30 days ago +find . -type f -newermt 2016-08-07 \! -newermt 2016-08-08 # find in date range ```