Debian Codegraph @

cleaners/filezilla.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 @app FileZilla
22 @url https://filezilla-project.org/
23 @os Windows, Linux
24 @cleanerversion v4.4.2
25 @cleanerdate 2021-11-13
26 @cleanerby Andrew Ziem (2009-06-24 - 2009-10-04), Tobias B. Besemer (2019-03-13 - 2019-03-21) & fbruand (2022-12-28)
27 @tested ok debian 11 (FileZilla 3.52.2), debian 11 with flatpak (FileZilla 3.62.2), fedora 37 (FileZilla 3.60.2), debian 11 with snap (FileZilla 3.41.2) & windows 11 (FileZilla 3.62.2)
28 @testeddate 2022-12-29
29 @testedby https://github.com/fbruand
30 @note As long we have no command="xml", we need to delete the complete file!
31
32 -->
33 <cleaner id="filezilla">
34 <label>FileZilla</label>
35 <description>File transfer client</description>
36 <running type="exe" os="windows" same_user="true">filezilla.exe</running>
37 <running type="exe" os="linux" same_user="true">filezilla</running>
38 <var name="profile">
39 <value os="windows">%AppData%\FileZilla</value>
40 <value os="linux">~/.filezilla</value>
41 <value os="linux">~/.config/filezilla</value>
42 <value os="linux">~/.var/app/org.filezillaproject.Filezilla/config/filezilla</value>
43 <value os="linux">~/snap/filezilla/22/.config/filezilla</value>
44 </var>
45 <option id="mru">
46 <label>Most recently used</label>
47 <description>Delete the usage history</description>
48 <action command="delete" search="file" path="$$profile$$/recentservers.xml"/>
49 </option>
50 <!-- Option not for end-user !!!
51 <option id="last_server_path">
52 <label>Last Server Path</label>
53 <description>Delete the last server path</description>
54 <warning>As long we have no command="xml", we need to delete the complete file! Use this option only if you know what you do!</warning>
55 <action command="delete" search="file" path="$$profile$$/filezilla.xml"/>
56 -->
57 <!--
58 This is how IMHO a CleanerML-XML-Cleaning-Syntax maybe can look like (Part 5). Tobias.
59 <action command="xml" search="file" path="$$profile$$/filezilla.xml" element="FileZilla3/Settings/Setting" attribute="name=Last Server Path"/>
60 Explanation: Deletes with a "name=value" as value of "attribute" the content of "<element attribute="value">".
61 Example:
62 <FileZilla3 version="3.32.0" platform="windows">
63 <Settings>
64 <Setting name="Last Server Path">ftp://ftp.demo.org</Setting>
65 -> Deletes "ftp://ftp.demo.org"
66 -->
67 <!--
68 For later! Would be Example Part4...
69 Explanation: Deletes with "/*" at the end the content of the element.
70 <action command="xml" search="file" path="$$profile$$/filezilla.xml" element="FileZilla3/Settings/LastServer/*"/>
71 -->
72 <!--
73 </option>
74 -->
75 </cleaner>