Debian Codegraph @

cleaners/geary.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 BleachBit
5 Copyright (C) 2008-2024 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="geary" os="linux">
23 <label>Geary</label>
24 <description>Email client</description>
25 <running type="exe">geary</running>
26 <var name="accounts">
27 <value search="glob">~/.local/share/geary/*</value>
28 <value search="glob">$XDG_DATA_HOME/geary/*</value>
29 <value search="glob">~/.var/app/org.gnome.Geary/data/geary/*</value>
30 </var>
31 <option id="cache">
32 <label>Cache</label>
33 <description>Delete the cache</description>
34 <action command="delete" search="walk.all" path="~/.cache/geary"/>
35 <action command="delete" search="walk.all" path="$XDG_CACHE_HOME/geary"/>
36 <action command="delete" search="walk.all" path="~/.var/app/org.gnome.Geary/cache"/>
37 </option>
38 <option id="attachments">
39 <label>Attachments</label>
40 <description>Delete the files</description>
41 <!-- I use both the "walk.all" and "files" search options
42 to print the files being removed and to remove the attachments directory. -->
43 <action command="delete" search="walk.top" path="$$accounts$$/attachments"/>
44 <action command="delete" search="file" path="$$accounts$$/attachments"/>
45 </option>
46 <option id="sync_conflict">
47 <label>Sync conflict</label>
48 <description>Delete the files</description>
49 <action command="delete" search="glob" path="$$accounts$$/geary.sync-conflict*.db"/>
50 </option>
51 <option id="vacuum">
52 <label>Vacuum</label>
53 <description>Clean database fragmentation to reduce space and improve speed without removing any data</description>
54 <warning>This option is slow.</warning>
55 <action command="sqlite.vacuum" search="file" path="$$accounts$$/geary.db"/>
56 </option>
57 </cleaner>