From 93d978f558f13f833d520bcc4b72bf3d1e7ba3d6 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 17 Jan 2025 12:03:47 +0200 Subject: [PATCH 1/2] Update find.md --- pages/common/find.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/find.md b/pages/common/find.md index 3641bf14d6d130..6f9c8aa2ea5e9d 100644 --- a/pages/common/find.md +++ b/pages/common/find.md @@ -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` From 23aa7275d4c0a6bcd05bd83db1f4a5ce58911935 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 17 Jan 2025 12:09:34 +0200 Subject: [PATCH 2/2] Update find.md --- pages/common/find.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/find.md b/pages/common/find.md index 6f9c8aa2ea5e9d..55d46f39c5a1a7 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: