1profile-cleaner(1)                                          profile-cleaner(1)
2
3
4

NAME

6       profile-cleaner  -  Reduce the size of browser and some email program's
7       profiles by organizing their sqlite databases  using  sqlite3's  vacuum
8       and  reindex  functions.  The term "browser" is used loosely since pro‐
9       file-cleaner happily works on some email clients too.
10

SYNOPSIS

12       profile-cleaner [option]
13
14

DESCRIPTION

16       Profile-cleaner is a very simple shell script that will invoke  sqlite3
17       to  vacuum  and  reindex  databases belonging to supported browsers and
18       email clients. It is compatible with profile-sync-daemon so users  need
19       not  stop  psd  before  calling profile-cleaner. In fact, profiles will
20       clean much faster when they are synced to tmpfs via psd.
21

OPTIONS

23       b      Clean brave's profile
24
25       c      Clean chromium's profile
26
27       ck     Clean conkeror's profile(s)*
28
29       f      Clean firefox's profile(s)*
30
31       fa     Clean falkon's profile
32
33       gc     Clean google-chrome's profile
34
35       h      Clean heftig aurora's profile(s)*
36
37       i      Clean icecat's profile(s)*
38
39       id     Clean icedove's profile
40
41       ix     Clean Inox's profile
42
43       m      Clean midori's profile
44
45       o      Clean opera's profile
46
47       t      Clean thunderbird's profile(s)*
48
49       to     Clean tor-browser's profile
50
51       s      Clean seamonkey's profile(s)*
52
53       pm     Clean palemoon's profile(s)*
54
55       p      Clean the defined paths
56
57       v      Clean vivaldi's profile
58
59              *Profile-cleaner will parse the respective profiles.ini file and
60              clean all profiles defined therein.
61

CONFIG FILE

63       Profile-cleaner   will  create  $HOME/.config/profile-cleaner.conf  the
64       first time it is invoked. Users may define a color scheme therein based
65       on  their  terminal  background color. The default is a dark scheme for
66       dark colored terminals. The file is commented and self-explanatory.
67

EXAMPLES

69       Clean all firefox profiles:
70
71        $ profile-cleaner f
72
73              Clean chromium profile:
74
75        $ profile-cleaner c
76
77              Clean the user defined profile:
78
79        $ profile-cleaner p /path/to/profile
80
81

SUPPORTED BROWSERS AND EMAIL CLIENTS

83       Currently, the following are supported:
84
85       ·  Brave (stable, beta, dev and nightly)
86
87       ·  Chromium (stable,beta,dev)
88
89       ·  Conkeror
90
91       ·  Firefox (stable,beta,aurora)
92
93       ·  Google-chrome (stable,beta,dev)
94
95       ·  Heftig's   version   of   Aurora    (https://bbs.archlinux.org/view
96          topic.php?id=117157)
97
98       ·  Inox (https://bbs.archlinux.org/viewtopic.php?id=198763)
99
100       ·  Midori
101
102       ·  Newsbeuter
103
104       ·  Opera (stable, next, and developer)
105
106       ·  Seamonkey
107
108       ·  Thunderbird
109
110       ·  Tor-browser
111
112       ·  Vivaldi (stable and snapshot)
113

SAMPLE OUTPUT

115       Sample output invoking the firefox option (your mileage will vary).
116
117        $ profile-cleaner f
118        /home/facade/.mozilla/firefox/zee52krz.default/cookies.sqlite reduced by .87 Mbytes
119        /home/facade/.mozilla/firefox/zee52krz.default/signons.sqlite reduced by .41 Mbytes
120        /home/facade/.mozilla/firefox/zee52krz.default/downloads.sqlite reduced by .56 Mbytes
121        /home/facade/.mozilla/firefox/zee52krz.default/chromeappsstore.sqlite reduced by .03 Mbytes
122        /home/facade/.mozilla/firefox/zee52krz.default/urlclassifier3.sqlite reduced by 43.10 Mbytes
123        /home/facade/.mozilla/firefox/zee52krz.default/formhistory.sqlite reduced by .11 Mbytes
124        /home/facade/.mozilla/firefox/zee52krz.default/addons.sqlite reduced by 0 Mbytes
125        /home/facade/.mozilla/firefox/zee52krz.default/permissions.sqlite reduced by 0 Mbytes
126        /home/facade/.mozilla/firefox/zee52krz.default/content-prefs.sqlite reduced by 0 Mbytes
127        /home/facade/.mozilla/firefox/zee52krz.default/extensions.sqlite reduced by 0 Mbytes
128        /home/facade/.mozilla/firefox/zee52krz.default/webappsstore.sqlite reduced by 0 Mbytes
129        /home/facade/.mozilla/firefox/zee52krz.default/OfflineCache/index.sqlite reduced by 0 Mbytes
130        /home/facade/.mozilla/firefox/zee52krz.default/search.sqlite reduced by 0 Mbytes
131        /home/facade/.mozilla/firefox/zee52krz.default/places.sqlite reduced by 9.98 Mbytes
132
133        firefox profile reduced by 55.06 Mbytes
134
135

CONTRIBUTE

137       Should you wish to contribute to this code, please fork and send a pull
138       request.     Source     is     freely     available     on      github:
139       https://github.com/graysky2/profile-cleaner
140

BUGS

142       None known.
143

AUTHOR

145       graysky (graysky AT archlinux DOT us)
146

SEE ALSO

148       profile-sync-deamon (1)
149
150
151
152                                  16 May 2020               profile-cleaner(1)
Impressum