| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- |
| 3 |
SPDX-License-Identifier: GPL-3.0-or-later |
| 4 |
Copyright (c) 2008-2026 Andrew Ziem. |
| 5 |
|
| 6 |
This work is licensed under the terms of the GNU GPL, version 3 or |
| 7 |
later. See the COPYING file in the top-level directory. |
| 8 |
--> |
| 9 |
<cleaner id="deepscan"> |
| 10 |
<label translate="true">Deep scan</label> |
| 11 |
<description>Clean files widely scattered across the disk</description> |
| 12 |
<option id="angular"> |
| 13 |
<label translate="false">.angular</label> |
| 14 |
<description>Delete the files</description> |
| 15 |
<warning>This option is slow.</warning> |
| 16 |
<action command="delete" search="deep" wholeregex="[/\\]\.angular"/> |
| 17 |
</option> |
| 18 |
<option id="backup"> |
| 19 |
<label>Backup files</label> |
| 20 |
<description>Delete the backup files</description> |
| 21 |
<warning>Inspect the preview for any files you want to keep.</warning> |
| 22 |
<action command="delete" search="deep" regex="\.[Bb][Aa][Kk]$"/> |
| 23 |
<action command="delete" search="deep" regex="[a-zA-Z]{1,4}~$"/> |
| 24 |
</option> |
| 25 |
<option id="ds_store"> |
| 26 |
<label translate="false">.DS_Store</label> |
| 27 |
<description>Delete the files</description> |
| 28 |
<warning>This option is slow.</warning> |
| 29 |
<action command="delete" search="deep" regex="^\.DS_Store$"/> |
| 30 |
</option> |
| 31 |
<option id="node_modules"> |
| 32 |
<label translate="false">node_modules</label> |
| 33 |
<description>Delete the files</description> |
| 34 |
<warning>This option is slow. Inspect the preview for files you want to keep, like those bundled with applications.</warning> |
| 35 |
<action command="delete" search="deep" wholeregex="[/\\]node_modules[/\\]" nwholeregex="[\\/]AppData[\\/]|[\\/]home[\\/][^\\/]+[\\/]\.[^\\/]+[\\/]|[\\/]Users[\\/][^\\/]+[\\/]\.[^\\/]+[\\/]"/> |
| 36 |
</option> |
| 37 |
<option id="venv"> |
| 38 |
<label translate="false">venv</label> |
| 39 |
<description>Delete the files</description> |
| 40 |
<warning>This option is slow.</warning> |
| 41 |
<action command="delete" search="deep" wholeregex="[/\\]\.?venv[/\\]" nwholeregex="[\\/]AppData[\\/]|[\\/]home[\\/][^\\/]+[\\/]\.[^\\/]+[\\/]|[\\/]Users[\\/][^\\/]+[\\/]\.[^\\/]+[\\/]|[\\/]pipx[\\/]venvs[\\/]"/> |
| 42 |
</option> |
| 43 |
<option id="pycache"> |
| 44 |
<label translate="false">__pycache__</label> |
| 45 |
<description>Delete the files</description> |
| 46 |
<warning>This option is slow.</warning> |
| 47 |
<action command="delete" search="deep" wholeregex="[/\\]__pycache__"/> |
| 48 |
</option> |
| 49 |
<option id="thumbs_db"> |
| 50 |
<label translate="false">Thumbs.db</label> |
| 51 |
<description>Delete the files</description> |
| 52 |
<warning>This option is slow.</warning> |
| 53 |
<action command="delete" search="deep" regex="^Thumbs\.db$"/> |
| 54 |
<action command="delete" search="deep" regex="^Thumbs\.db:encryptable$"/> |
| 55 |
</option> |
| 56 |
<option id="tmp"> |
| 57 |
<label>Temporary files</label> |
| 58 |
<description>Delete the temporary files</description> |
| 59 |
<warning>This option is slow.</warning> |
| 60 |
<!-- http://support.microsoft.com/kb/211632 --> |
| 61 |
<action command="delete" search="deep" regex="^~wr[a-z][0-9]{4}\.tmp$"/> |
| 62 |
<!-- http://support.microsoft.com/kb/826810 --> |
| 63 |
<action command="delete" search="deep" regex="^ppt[0-9]{4}\.tmp$"/> |
| 64 |
</option> |
| 65 |
<option id="vim_swap_user"> |
| 66 |
<label>VIM swap files under user profile</label> |
| 67 |
<description>Delete the backup files</description> |
| 68 |
<warning>This option is slow.</warning> |
| 69 |
<!-- |
| 70 |
Here is an example. When editing foo.txt, VIM makes a file called .foo.txt.swp |
| 71 |
that starts with a period. |
| 72 |
|
| 73 |
If the .swp file exists, it will cycle through the alphabet according to |
| 74 |
this post |
| 75 |
https://groups.google.com/forum/#!msg/vim_use/JBHSs3kPPJU/X9WeMsZcfWAJ |
| 76 |
|
| 77 |
The likeliness of VIM not being able to create a swap on the first three |
| 78 |
times is small. |
| 79 |
|
| 80 |
Be careful not to match files such as ~/.htpasswd |
| 81 |
https://github.com/bleachbit/bleachbit/issues/683 |
| 82 |
|
| 83 |
--> |
| 84 |
<action command="delete" search="deep" regex="^.*\.sw[nop]$"/> |
| 85 |
</option> |
| 86 |
<option id="vim_swap_root"> |
| 87 |
<label>VIM swap files across system</label> |
| 88 |
<description>Delete the backup files</description> |
| 89 |
<warning>This option is slow.</warning> |
| 90 |
<action command="delete" search="deep" regex="^.*\.sw[nop]$" path="/" os="linux"/> |
| 91 |
</option> |
| 92 |
</cleaner> |