From ad4a072271f6f25ace43d8d4d8edbc46c9e418a8 Mon Sep 17 00:00:00 2001 From: Ken Chou Date: Tue, 30 Jul 2024 19:09:54 +0800 Subject: [PATCH] update README --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 503e5c5..f50d58e 100644 --- a/README.md +++ b/README.md @@ -32,12 +32,16 @@ Options: -V, --version Print version ``` +eg: +`file-clean-rust ~/Downloads` dry-run and see result +`file-clean-rust ~/Downloads --prune` prune the target path and see result + +## Configuration + The default configuration file `.cleanup-patterns.yml` is searched for starting from the specified target path, moving upwards step by step until the root directory is reached. If it is not found, it will then be looked for in the user's home directory. -## Configuration - ```yaml remove: |- example_filename