From 0251455894b84e13c37809878eca66250582db37 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 2 Feb 2025 17:45:10 +0200 Subject: [PATCH] find: clarify description (#15542) --- 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 3641bf14d6..55d46f39c5 100644 --- a/pages/common/find.md +++ b/pages/common/find.md @@ -9,7 +9,7 @@ - Find files matching multiple path/name patterns: -`find {{root_path}} -path '{{**/path/**/*.ext}}' -or -name '{{*pattern*}}'` +`find {{root_path}} -path '{{*/path/*/*.ext}}' -or -name '{{*pattern*}}'` - Find directories matching a given name, in case-insensitive mode: @@ -31,6 +31,6 @@ `find {{root_path}} -daystart -mtime {{-1}} -exec {{tar -cvf archive.tar}} {} \+` -- Find empty files (0 byte) or directories and delete them verbosely: +- Search for either empty files or directories and delete them verbosely: `find {{root_path}} -type {{f|d}} -empty -delete -print`