From d531d5722f4c12aec63edaba630b6a2d40caa6b6 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Mon, 25 Feb 2019 09:04:45 +0100 Subject: [PATCH 01/47] Just a first draft --- _posts/2015-09-25-winapp2ini.md | 2 +- _posts/2018-03-14-troubleshooting.md | 2 +- _posts/cleanerml-examples.md | 42 ++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 _posts/cleanerml-examples.md diff --git a/_posts/2015-09-25-winapp2ini.md b/_posts/2015-09-25-winapp2ini.md index e7f772f..9741fc6 100644 --- a/_posts/2015-09-25-winapp2ini.md +++ b/_posts/2015-09-25-winapp2ini.md @@ -3,7 +3,7 @@ layout: page title: "Winapp2.ini" category: doc date: 2015-09-25 23:38:45 -order: 8 +order: 9 --- BleachBit imports cleaning rules from winapp2.ini files giving Windows users 2400+ additional cleaners (and growing) created by the community. [Piriform does not endorse importing "CCleaner data" into BleachBit](https://www.bleachbit.org/news/ccleaner-asks-bleachbit-remove-winapp2ini-importer). diff --git a/_posts/2018-03-14-troubleshooting.md b/_posts/2018-03-14-troubleshooting.md index 0d408a1..c4f4215 100644 --- a/_posts/2018-03-14-troubleshooting.md +++ b/_posts/2018-03-14-troubleshooting.md @@ -3,7 +3,7 @@ layout: page title: "Troubleshooting" category: doc date: 2018-03-14 21:36:58 -order: 10 +order: 11 --- When something goes wrong, these steps will help you gather information to ask for help or to file a bug report. diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md new file mode 100644 index 0000000..7f78402 --- /dev/null +++ b/_posts/cleanerml-examples.md @@ -0,0 +1,42 @@ +--- +layout: page +title: "CleanerML Examples" +category: doc +date: 2019-02-25 08:45:00 +order: 8 +--- + +**Just some CleanerML Examples...** + +### INI + +Cleaning a Parameter in a INI File: +Deletes in `section` the `parameter'. + +Example: +`````` + +`command` is always `"ini"`, `search` is always `"file"`, `path` is the path to the INI file, `section` is the higer section and `parameter` is the parameter you want to delete. +#No wildcards allowed (, yet)! + + +### WINREG + +Cleaning a Windows Registry Key/Path: +Deletes in the `path` (tree in Regedit) a "folder", or a key. + +Example: +`````` + +`command` is always `"winreg"`, `path` is the path/tree/folder/key you want to delete. + + +Cleaning a Windows Registry Key/Path with a wildcard: +Deletes in the `path` (tree in Regedit) a "folder", or a key with a wildcard. + +Example: +`````` + +`command` is always `"winreg"`, `path` is the path/tree/folder/key you want to delete, "*" match any string that will be find. + + From 7cef2e9c4b908f98145cd5d60f94028146d49222 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Mon, 25 Feb 2019 09:07:47 +0100 Subject: [PATCH 02/47] Adding some line breaks --- _posts/cleanerml-examples.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 7f78402..1c05c4d 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -13,30 +13,30 @@ order: 8 Cleaning a Parameter in a INI File: Deletes in `section` the `parameter'. -Example: +Example: `````` `command` is always `"ini"`, `search` is always `"file"`, `path` is the path to the INI file, `section` is the higer section and `parameter` is the parameter you want to delete. #No wildcards allowed (, yet)! - +
### WINREG Cleaning a Windows Registry Key/Path: Deletes in the `path` (tree in Regedit) a "folder", or a key. -Example: +Example: `````` `command` is always `"winreg"`, `path` is the path/tree/folder/key you want to delete. - +
Cleaning a Windows Registry Key/Path with a wildcard: Deletes in the `path` (tree in Regedit) a "folder", or a key with a wildcard. -Example: +Example: `````` `command` is always `"winreg"`, `path` is the path/tree/folder/key you want to delete, "*" match any string that will be find. - +
From c04e98ccef3a533926eface00727e59d1d5d33ff Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Mon, 25 Feb 2019 09:12:21 +0100 Subject: [PATCH 03/47] Now the line breaks? --- _posts/cleanerml-examples.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 1c05c4d..82fd196 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -10,33 +10,36 @@ order: 8 ### INI -Cleaning a Parameter in a INI File: +Cleaning a Parameter in a INI File: Deletes in `section` the `parameter'. -Example: +Example: `````` -`command` is always `"ini"`, `search` is always `"file"`, `path` is the path to the INI file, `section` is the higer section and `parameter` is the parameter you want to delete. +`command` is always `"ini"`, `search` is always `"file"`, `path` is the path to the INI file, `section` is the higer section and `parameter` is the parameter you want to delete. #No wildcards allowed (, yet)!
+ ### WINREG -Cleaning a Windows Registry Key/Path: +Cleaning a Windows Registry Key/Path: Deletes in the `path` (tree in Regedit) a "folder", or a key. -Example: +Example: `````` `command` is always `"winreg"`, `path` is the path/tree/folder/key you want to delete.
-Cleaning a Windows Registry Key/Path with a wildcard: + +Cleaning a Windows Registry Key/Path with a wildcard: Deletes in the `path` (tree in Regedit) a "folder", or a key with a wildcard. -Example: +Example: `````` `command` is always `"winreg"`, `path` is the path/tree/folder/key you want to delete, "*" match any string that will be find.
+ From a7dd14c4491906e8093baf411ca107f1c4e41140 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Mon, 25 Feb 2019 09:17:30 +0100 Subject: [PATCH 04/47] Some fixes... --- _posts/cleanerml-examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 82fd196..a885945 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -11,13 +11,13 @@ order: 8 ### INI Cleaning a Parameter in a INI File: -Deletes in `section` the `parameter'. +Deletes in `section` the `parameter`. Example: `````` `command` is always `"ini"`, `search` is always `"file"`, `path` is the path to the INI file, `section` is the higer section and `parameter` is the parameter you want to delete. -#No wildcards allowed (, yet)! +**No wildcards allowed (, yet)!**
From be33504250e0dfabec4df1da97aa781cf16c18fd Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Mon, 25 Feb 2019 09:23:13 +0100 Subject: [PATCH 05/47] Some improvments... --- _posts/cleanerml-examples.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index a885945..635b66b 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -10,35 +10,39 @@ order: 8 ### INI -Cleaning a Parameter in a INI File: +**Cleaning a Parameter in a INI File** Deletes in `section` the `parameter`. -Example: +**Example:** `````` +**Explanaition:** `command` is always `"ini"`, `search` is always `"file"`, `path` is the path to the INI file, `section` is the higer section and `parameter` is the parameter you want to delete. -**No wildcards allowed (, yet)!** + +**No wildcards allowed (, yet)!**
### WINREG -Cleaning a Windows Registry Key/Path: +**Cleaning a Windows Registry Key/Path** Deletes in the `path` (tree in Regedit) a "folder", or a key. -Example: +**Example:** `````` +**Explanaition:** `command` is always `"winreg"`, `path` is the path/tree/folder/key you want to delete.
-Cleaning a Windows Registry Key/Path with a wildcard: +**Cleaning a Windows Registry Key/Path with a wildcard** Deletes in the `path` (tree in Regedit) a "folder", or a key with a wildcard. -Example: +**Example:** `````` +**Explanaition:** `command` is always `"winreg"`, `path` is the path/tree/folder/key you want to delete, "*" match any string that will be find.
From 60e50ec3f1644a8ffe717bd11fa7f21ec164e6f6 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Mon, 25 Feb 2019 09:39:48 +0100 Subject: [PATCH 06/47] Adding some more syntax --- _posts/cleanerml-examples.md | 53 ++++++++++++++++++++++++++++++++++-- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 635b66b..825e4c0 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -8,7 +8,7 @@ order: 8 **Just some CleanerML Examples...** -### INI +###command="ini" **Cleaning a Parameter in a INI File** Deletes in `section` the `parameter`. @@ -23,7 +23,7 @@ Deletes in `section` the `parameter`.
-### WINREG +###command="winreg" **Cleaning a Windows Registry Key/Path** Deletes in the `path` (tree in Regedit) a "folder", or a key. @@ -47,3 +47,52 @@ Deletes in the `path` (tree in Regedit) a "folder", or a key with a wildcard.
+###command="delete" search="file" + +**Deleting a single file** +Deletes a single file in the file system. + +**Example:** +``` + +###command="delete" search="walk.files" + +**Follows** + +
+ +###command="delete" search="walk.all" + +**Follows** + +If you add a "*" at the end of a path by `walk.all`, nothing gets deleted! +`````` + +And this doesn't work, too. +`````` +Use `glob` instead: +`````` + +
+ +###command="delete" search="glob" + +**Follows** + +
+ +###Delete the content of a folder and the folder itself + +**Follows** + +**Example:** +`````` +`````` + +
+ From 9ee897702a53c00b24144f81f3a84088f53fc377 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Mon, 25 Feb 2019 09:41:26 +0100 Subject: [PATCH 07/47] Fixing the headlines --- _posts/cleanerml-examples.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 825e4c0..f73ca09 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -8,7 +8,7 @@ order: 8 **Just some CleanerML Examples...** -###command="ini" +### command="ini" **Cleaning a Parameter in a INI File** Deletes in `section` the `parameter`. @@ -23,7 +23,7 @@ Deletes in `section` the `parameter`.
-###command="winreg" +### command="winreg" **Cleaning a Windows Registry Key/Path** Deletes in the `path` (tree in Regedit) a "folder", or a key. @@ -47,7 +47,7 @@ Deletes in the `path` (tree in Regedit) a "folder", or a key with a wildcard.
-###command="delete" search="file" +### command="delete" search="file" **Deleting a single file** Deletes a single file in the file system. @@ -66,7 +66,7 @@ Deletes a single file in the file system.
-###command="delete" search="walk.all" +### command="delete" search="walk.all" **Follows** @@ -80,13 +80,13 @@ Use `glob` instead:
-###command="delete" search="glob" +### command="delete" search="glob" **Follows**
-###Delete the content of a folder and the folder itself +### Delete the content of a folder and the folder itself **Follows** From 570950a5dc9499ac6550286fb5143f9112a29df0 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Mon, 25 Feb 2019 09:42:56 +0100 Subject: [PATCH 08/47] Fixing a headline + line break --- _posts/cleanerml-examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index f73ca09..4eecce9 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -60,7 +60,7 @@ Deletes a single file in the file system.
-###command="delete" search="walk.files" +### command="delete" search="walk.files" **Follows** @@ -91,7 +91,7 @@ Use `glob` instead: **Follows** **Example:** -`````` +`````` ``````
From c0c5319fa15387db8a783894a97c1da12f70a263 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Mon, 25 Feb 2019 09:48:23 +0100 Subject: [PATCH 09/47] More structure... --- _posts/cleanerml-examples.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 825e4c0..86eb40f 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -63,12 +63,26 @@ Deletes a single file in the file system. ###command="delete" search="walk.files" **Follows** +Follows + +**Example:** +Follows + +**Explanaition:** +Follows
###command="delete" search="walk.all" **Follows** +Follows + +**Example:** +Follows + +**Explanaition:** +Follows If you add a "*" at the end of a path by `walk.all`, nothing gets deleted! `````` @@ -83,16 +97,27 @@ Use `glob` instead: ###command="delete" search="glob" **Follows** +Follows + +**Example:** +`````` + +**Explanaition:** +Follows
###Delete the content of a folder and the folder itself **Follows** +Follows **Example:** `````` `````` +**Explanaition:** +Follows +
From c2c23f28b27c40e8c0d0db166e33b9b2fb79ed70 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Mon, 25 Feb 2019 09:54:23 +0100 Subject: [PATCH 10/47] This & That --- _posts/cleanerml-examples.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 3f10023..5dbbb1f 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -36,7 +36,9 @@ Deletes in the `path` (tree in Regedit) a "folder", or a key.
-**Cleaning a Windows Registry Key/Path with a wildcard** +### Cleaning a Windows Registry Key/Path with a wildcard + +**You can cleaning a Windows Registry Key/Path with a wildcard** Deletes in the `path` (tree in Regedit) a "folder", or a key with a wildcard. **Example:** @@ -84,12 +86,12 @@ Follows **Explanaition:** Follows -If you add a "*" at the end of a path by `walk.all`, nothing gets deleted! +If you add a "*" at the end of a path by `walk.all`, nothing gets deleted! `````` And this doesn't work, too. -`````` -Use `glob` instead: +`````` +Use `glob` instead: ``````
@@ -109,7 +111,7 @@ Follows ### Delete the content of a folder and the folder itself -**Follows** +**You can delete the content of a folder and the folder itself** Follows **Example:** From 849524907248eb3bd8b52497c3915c2ef8e28a81 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Tue, 26 Feb 2019 02:15:18 +0100 Subject: [PATCH 11/47] Added exclusions --- _posts/cleanerml-examples.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 5dbbb1f..32c401d 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -2,7 +2,7 @@ layout: page title: "CleanerML Examples" category: doc -date: 2019-02-25 08:45:00 +date: 2019-02-25 21:15:00 order: 8 --- @@ -19,7 +19,9 @@ Deletes in `section` the `parameter`. **Explanaition:** `command` is always `"ini"`, `search` is always `"file"`, `path` is the path to the INI file, `section` is the higer section and `parameter` is the parameter you want to delete. -**No wildcards allowed (, yet)!** +`````` +**Doesn't work! No wildcards allowed (, yet)!** +**You must list them all with one rule per parameter!**
@@ -60,6 +62,11 @@ Deletes a single file in the file system. **Explanaition:** `command` is always `"delete"`, `search` is always `"file"`, `path` is the path & name of the file to delete. +`````` +**Doesn't work! No wildcards allowed (, yet)!** +**Use `glob`!** + +
### command="delete" search="walk.files" @@ -73,6 +80,10 @@ Follows **Explanaition:** Follows +`````` +**Doesn't work! No wildcards allowed (, yet)!** +**Use `glob`!** +
### command="delete" search="walk.all" From 322bb42306c99c1792bdfe534038c012d23f096a Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Tue, 26 Feb 2019 15:58:04 +0100 Subject: [PATCH 12/47] command="delete" search="deep" --- _posts/cleanerml-examples.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 32c401d..5a88380 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -2,7 +2,7 @@ layout: page title: "CleanerML Examples" category: doc -date: 2019-02-25 21:15:00 +date: 2019-02-26 16:00:00 order: 8 --- @@ -134,3 +134,16 @@ Follows
+### command="delete" search="deep" + +**Follows** +Follows + +**Example:** +`````` + +**Explanaition:** +Follows + +
+ From 4beb50a94bcde0c740beee85c5a3d53f931b8f01 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Tue, 26 Feb 2019 22:10:42 +0100 Subject: [PATCH 13/47] Just added a note for later... --- _posts/cleanerml-examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 5a88380..f769df1 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -116,7 +116,7 @@ Follows `````` **Explanaition:** -Follows +Follows ... and don't go into the subfolders.
From ba7837671df066b7f0fde73c0ff67cb0c1a350c3 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Wed, 27 Feb 2019 02:43:22 +0100 Subject: [PATCH 14/47] One more note... --- _posts/cleanerml-examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index f769df1..05da62f 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -95,7 +95,7 @@ Follows Follows **Explanaition:** -Follows +Follows ... walk.all is intended to match directories, not files. If you add a "*" at the end of a path by `walk.all`, nothing gets deleted! `````` From 730e9f5fc66d16cfd482718bbd2b09fa7c061dd0 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Wed, 27 Feb 2019 11:10:47 +0100 Subject: [PATCH 15/47] Some regex examples for deep scan --- _posts/cleanerml-examples.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 05da62f..29aab16 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -140,10 +140,16 @@ Follows Follows **Example:** -`````` +`````` **Explanaition:** Follows +More examples: +regex="\.[Bb][Aa][Kk]$ -> File Extension, not key sensetive +regex="^Thumbs\.db$" -> Exact file name +regex="^[...] -> File name starts with +regex="\.[...] -> File extension is +
From 831cf1e171ddf017f00ab9e09d61ab6de206a9f3 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Wed, 6 Mar 2019 23:37:04 +0100 Subject: [PATCH 16/47] command="winreg" with & without 'name' --- _posts/cleanerml-examples.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 29aab16..58725c7 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -31,10 +31,11 @@ Deletes in `section` the `parameter`. Deletes in the `path` (tree in Regedit) a "folder", or a key. **Example:** -`````` +`````` **Explanaition:** -`command` is always `"winreg"`, `path` is the path/tree/folder/key you want to delete. +`command` is always `"winreg"`, `path` is the path/tree/folder, `name` is the key that gets delete. +If you don't add a `name` to it, the `path` gets deleted!
From 23e7aa5577cd2e03c2f8af9f9903fc3311a44cee Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Wed, 6 Mar 2019 23:44:31 +0100 Subject: [PATCH 17/47] Some improvments... --- _posts/cleanerml-examples.md | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 58725c7..9446361 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -2,12 +2,22 @@ layout: page title: "CleanerML Examples" category: doc -date: 2019-02-26 16:00:00 +date: 2019-03-06 23:40:00 order: 8 --- **Just some CleanerML Examples...** +### Header + +`````` +If the cleaner is only for Windows. + +`````` +If the label should be translated by the translators into local. + +
+ ### command="ini" **Cleaning a Parameter in a INI File** @@ -19,7 +29,7 @@ Deletes in `section` the `parameter`. **Explanaition:** `command` is always `"ini"`, `search` is always `"file"`, `path` is the path to the INI file, `section` is the higer section and `parameter` is the parameter you want to delete. -`````` +`````` **Doesn't work! No wildcards allowed (, yet)!** **You must list them all with one rule per parameter!** @@ -146,11 +156,11 @@ Follows **Explanaition:** Follows -More examples: -regex="\.[Bb][Aa][Kk]$ -> File Extension, not key sensetive -regex="^Thumbs\.db$" -> Exact file name -regex="^[...] -> File name starts with -regex="\.[...] -> File extension is +More examples: +regex="\.[Bb][Aa][Kk]$ -> File Extension, not key sensetive +regex="^Thumbs\.db$" -> Exact file name +regex="^[...] -> File name starts with +regex="\.[...] -> File extension is
From c0b2e201addd281e64c8f5885d0861615ce7a8aa Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Wed, 6 Mar 2019 23:46:38 +0100 Subject: [PATCH 18/47] Just make it bold... --- _posts/cleanerml-examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 9446361..66963fc 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -156,7 +156,7 @@ Follows **Explanaition:** Follows -More examples: +**More examples:** regex="\.[Bb][Aa][Kk]$ -> File Extension, not key sensetive regex="^Thumbs\.db$" -> Exact file name regex="^[...] -> File name starts with From e6da2912b4b87e3db63c776609a1d667762ef7b1 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Thu, 7 Mar 2019 10:14:55 +0100 Subject: [PATCH 19/47] label translators --- _posts/cleanerml-examples.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 66963fc..9f80e9d 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -2,7 +2,7 @@ layout: page title: "CleanerML Examples" category: doc -date: 2019-03-06 23:40:00 +date: 2019-03-07 10:10:00 order: 8 --- @@ -16,6 +16,9 @@ If the cleaner is only for Windows. `````` If the label should be translated by the translators into local. +`````` +Note for translators. +
### command="ini" From 09fcbc21982dbeb80db8beda1c52c98b978ef7bc Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Thu, 7 Mar 2019 22:11:24 +0100 Subject: [PATCH 20/47] Run an external program --- _posts/cleanerml-examples.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 9f80e9d..e5fbb42 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -167,3 +167,19 @@ regex="\.[...] -> File extension is
+### Run an external program + +**Follows** +Follows + +**Example:** +`````` + +**Explanaition:** +Follows + +**More examples:** +`````` +`wait="false"` -> ...Explanaition...Follows... +`````` +You can use `cmd.exe` to start other programs. From a0c8c1c9b9f6bb1a1e556424bfa7336f96db2b60 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Thu, 7 Mar 2019 22:23:18 +0100 Subject: [PATCH 21/47] A other example --- _posts/cleanerml-examples.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index e5fbb42..4f6f4ac 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -98,6 +98,10 @@ Follows **Doesn't work! No wildcards allowed (, yet)!** **Use `glob`!** +`````` +**Doesn't work! No `*` at the end allowed (, yet)!** +**Use `glob`!** +
### command="delete" search="walk.all" From 975a82da5e03c5c6a42b0c3b0b43d5c0e8603b85 Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Sat, 9 Mar 2019 00:41:06 +0100 Subject: [PATCH 22/47] Delete the content of a folder but not the folder itself + Syntax cleanup --- _posts/cleanerml-examples.md | 66 ++++++++++++++++++++++-------------- 1 file changed, 40 insertions(+), 26 deletions(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index 4f6f4ac..a21549c 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -2,7 +2,7 @@ layout: page title: "CleanerML Examples" category: doc -date: 2019-03-07 10:10:00 +date: 2019-03-09 00:40:00 order: 8 --- @@ -10,13 +10,13 @@ order: 8 ### Header -`````` +`` If the cleaner is only for Windows. -`````` +`` If the label should be translated by the translators into local. -`````` +`` Note for translators.
@@ -27,12 +27,12 @@ Note for translators. Deletes in `section` the `parameter`. **Example:** -`````` +`` **Explanaition:** `command` is always `"ini"`, `search` is always `"file"`, `path` is the path to the INI file, `section` is the higer section and `parameter` is the parameter you want to delete. -`````` +`` **Doesn't work! No wildcards allowed (, yet)!** **You must list them all with one rule per parameter!** @@ -44,7 +44,7 @@ Deletes in `section` the `parameter`. Deletes in the `path` (tree in Regedit) a "folder", or a key. **Example:** -`````` +`` **Explanaition:** `command` is always `"winreg"`, `path` is the path/tree/folder, `name` is the key that gets delete. @@ -58,7 +58,7 @@ If you don't add a `name` to it, the `path` gets deleted! Deletes in the `path` (tree in Regedit) a "folder", or a key with a wildcard. **Example:** -`````` +`` **Explanaition:** `command` is always `"winreg"`, `path` is the path/tree/folder/key you want to delete, "*" match any string that will be find. @@ -71,12 +71,12 @@ Deletes in the `path` (tree in Regedit) a "folder", or a key with a wildcard. Deletes a single file in the file system. **Example:** -`````` +`` **Doesn't work! No wildcards allowed (, yet)!** **Use `glob`!** @@ -94,11 +94,11 @@ Follows **Explanaition:** Follows -`````` +`` **Doesn't work! No wildcards allowed (, yet)!** **Use `glob`!** -`````` +`` **Doesn't work! No `*` at the end allowed (, yet)!** **Use `glob`!** @@ -116,12 +116,12 @@ Follows Follows ... walk.all is intended to match directories, not files. If you add a "*" at the end of a path by `walk.all`, nothing gets deleted! -`````` +`` And this doesn't work, too. -`````` +`` Use `glob` instead: -`````` +``
@@ -131,7 +131,7 @@ Use `glob` instead: Follows **Example:** -`````` +`` **Explanaition:** Follows ... and don't go into the subfolders. @@ -144,12 +144,26 @@ Follows ... and don't go into the subfolders. Follows **Example:** -`````` -`````` +`` +`` **Explanaition:** +`walk.all` deletes the content of the folder and shows it in BleachBit, while `glob` deletes after that the folder itself. + +
+ +### Delete the content of a folder but not the folder itself + +**You can delete the content of a folder and not the folder itself** Follows +**Example:** +`` +`` + +**Explanaition:** +`walk.all` deletes the content of the folder and shows it in BleachBit, while `glob` with a `\` at the end of `path` deletes the folders in the folder. +
### command="delete" search="deep" @@ -158,16 +172,16 @@ Follows Follows **Example:** -`````` +`` **Explanaition:** Follows **More examples:** -regex="\.[Bb][Aa][Kk]$ -> File Extension, not key sensetive -regex="^Thumbs\.db$" -> Exact file name -regex="^[...] -> File name starts with -regex="\.[...] -> File extension is +`regex="\.[Bb][Aa][Kk]$"` -> File Extension, not key sensetive +`regex="^Thumbs\.db$"` -> Exact file name +`regex="^`[...] -> File name starts with +`regex="\.`[...] -> File extension is
@@ -177,13 +191,13 @@ regex="\.[...] -> File extension is Follows **Example:** -`````` +`` **Explanaition:** Follows **More examples:** -`````` +`` `wait="false"` -> ...Explanaition...Follows... -`````` +`` You can use `cmd.exe` to start other programs. From bd0f23250c7dfe9140c586ea11ea85f496fa188a Mon Sep 17 00:00:00 2001 From: "Tobias B. Besemer" Date: Sat, 9 Mar 2019 03:41:35 +0100 Subject: [PATCH 23/47] Adding section about --- _posts/cleanerml-examples.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/_posts/cleanerml-examples.md b/_posts/cleanerml-examples.md index a21549c..e587e4d 100644 --- a/_posts/cleanerml-examples.md +++ b/_posts/cleanerml-examples.md @@ -2,7 +2,7 @@ layout: page title: "CleanerML Examples" category: doc -date: 2019-03-09 00:40:00 +date: 2019-03-09 03:40:00 order: 8 --- @@ -21,6 +21,19 @@ Note for translators.
+### Display a warning + +**Display a warning to the user** +Displays a warning to the user if the cleaner gets selected in BleachBit. + +**Example:** +`Use the option only if you know what you do!` + +**Explanaition:** +`` gets used inside the `