Debian Codegraph @

cleaners/thunderbird.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 BleachBit
5 Copyright (C) 2008-2025 Andrew Ziem
6 https://www.bleachbit.org
7
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21 -->
22 <cleaner id="thunderbird">
23 <label>Thunderbird</label>
24 <description>Email client</description>
25 <running type="exe" os="windows" same_user="true">thunderbird.exe</running>
26 <running type="exe" os="linux" same_user="true">thunderbird</running>
27 <running type="exe" os="freebsd">thunderbird</running>
28 <var name="profile">
29 <!-- Fedora 11 Thunderbird 3.0 has ~/.thunderbird/default/????????.slt/ -->
30 <!-- Ubuntu 10.04 Thunderbird 3 has ~/.thunderbird/????????.default/ -->
31 <!-- Ubuntu 9.10 Thunderbird 2.0 has ~/.mozilla-thunderbird/????????.default/ -->
32 <!-- openSUSE 11.3 Thunderbird 3 has ~/.thunderbird/Profiles/????????.default/ -->
33 <value search="glob" os="linux">~/.thunderbird/*</value>
34 <value search="glob" os="linux">~/.mozilla-thunderbird/*</value>
35 <value search="glob" os="linux">~/.thunderbird/Profiles/*</value>
36 <value search="glob" os="linux">~/.var/app/org.mozilla.Thunderbird/.thunderbird/*</value>
37 <value search="glob" os="windows">%AppData%\Thunderbird\Profiles\*</value>
38 </var>
39 <option id="cache">
40 <label>Cache</label>
41 <description>Delete the web cache, which reduces time to display revisited pages</description>
42 <action command="delete" search="walk.all" path="$$profile$$/Cache/"/>
43 <action command="delete" search="walk.all" path="~/.cache/thunderbird/"/>
44 <action command="delete" search="walk.all" path="~/.var/app/org.mozilla.Thunderbird/cache/thunderbird/"/>
45 <action command="delete" search="walk.all" path="%LocalAppData%\Thunderbird\Profiles\*\cache2\"/>
46 <action command="delete" search="walk.all" path="%LocalAppData%\Thunderbird\Profiles\*\startupCache\"/>
47 <!-- Ubuntu 10.04 Thunderbird 3 has ~/.thunderbird/????????.default/Cache/ -->
48 <!-- openSUSE 11.3 Thunderbird 3 has ~/.thunderbird/Profiles/????????.default/Cache/ -->
49 <!-- Ubuntu 19.04 Thunderbird 60.0.80 has ~/.cache/thunderbird/ , and it is no longer under $$profile$$-->
50 </option>
51 <option id="cookies">
52 <label>Cookies</label>
53 <description>Delete cookies, which store login information, website preferences, and tracking identifiers</description>
54 <action command="delete" search="file" path="$$profile$$/cookies.sqlite"/>
55 </option>
56 <option id="index">
57 <label>Index</label>
58 <description>Delete the files</description>
59 <warning>Deleting the index will reset the configuration of columns in the message list.</warning>
60 <action command="delete" search="walk.files" path="$$profile$$" regex="\.msf$"/>
61 </option>
62 <option id="sessionjson">
63 <!-- delete the session, i.e. open windows and tabs -->
64 <label>Session restore</label>
65 <description>Restores the previous session when the browser next starts</description>
66 <action command="delete" search="file" path="$$profile$$/session.json"/>
67 </option>
68 <option id="passwords">
69 <label>Passwords</label>
70 <description>A database of usernames and passwords as well as a list of sites that should not store passwords</description>
71 <warning>This option will delete your saved passwords.</warning>
72 <action command="delete" search="file" path="$$profile$$/signons.sqlite"/>
73 <action command="delete" search="file" path="$$profile$$/signons.txt"/>
74 <action command="delete" search="file" path="$$profile$$/signons3.txt"/>
75 </option>
76 <option id="vacuum">
77 <label>Vacuum</label>
78 <description>Clean database fragmentation to reduce space and improve speed without removing any data</description>
79 <action command="sqlite.vacuum" search="glob" path="$$profile$$/*.sqlite"/>
80 </option>
81 </cleaner>