From b0b440436f5a575c58e8d23b826fce02b83ab7a7 Mon Sep 17 00:00:00 2001 From: Eric Nielsen Date: Thu, 5 Oct 2017 16:23:30 -0500 Subject: [PATCH] find: improve -mtime example Make the description clearer and more specific to the given `-1` parameter. Remove unnecessary `-name '{{}}'` from example. --- pages/common/find.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/find.md b/pages/common/find.md index a5c0f2e82..2f540ec19 100644 --- a/pages/common/find.md +++ b/pages/common/find.md @@ -14,9 +14,9 @@ `find {{root_path}} -name '{{*.ext}}' -exec {{wc -l {} }}\;` -- Find files modified since a certain time: +- Find files modified in the last 24-hour period: -`find {{root_path}} -name '{{}}' -mtime {{-1}}` +`find {{root_path}} -mtime {{-1}}` - Find files using case insensitive name matching, of a certain size: