1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
|
.\" Text automatically generated by txt2man
.TH profile-cleaner 1 "05 April 2023" "" ""
.SH NAME
\fBprofile-cleaner \fP- Reduce the size of browser and some email program's profiles by organizing their sqlite databases using sqlite3's vacuum and reindex functions. The term "browser" is used loosely since profile-cleaner happily works on some email clients too.
\fB
.SH SYNOPSIS
.nf
.fam C
\fBprofile-cleaner\fP [\fIoption\fP]
.fam T
.fi
.fam T
.fi
.SH DESCRIPTION
Profile-cleaner is a very simple shell script that will invoke sqlite3 to vacuum and reindex databases belonging to supported browsers and email clients. It is compatible with profile-sync-daemon so users need not stop psd before calling \fBprofile-cleaner\fP. In fact, profiles will clean much faster when they are synced to tmpfs via psd.
.SH OPTIONS
.TP
.B
b
Clean brave's profile
.TP
.B
c
Clean chromium's profile
.TP
.B
ck
Clean conkeror's \fBprofile\fP(s)*
.TP
.B
e
Clean edge's profile
.TP
.B
f
Clean firefox's \fBprofile\fP(s)*
.TP
.B
fa
Clean falkon's profile
.TP
.B
gc
Clean google-chrome's profile
.TP
.B
h
Clean heftig aurora's \fBprofile\fP(s)*
.TP
.B
i
Clean icecat's \fBprofile\fP(s)*
.TP
.B
id
Clean icedove's profile
.TP
.B
ix
Clean Inox's profile
.TP
.B
l
Clean Librewolf's profile
.TP
.B
m
Clean midori's profile
.TP
.B
o
Clean opera's profile
.TP
.B
t
Clean thunderbird's \fBprofile\fP(s)*
.TP
.B
to
Clean tor-browser's profile
.TP
.B
s
Clean seamonkey's \fBprofile\fP(s)*
.TP
.B
pm
Clean palemoon's \fBprofile\fP(s)*
.TP
.B
p
Clean the defined paths
.TP
.B
v
Clean vivaldi's profile
.RE
.PP
.RS
*Profile-cleaner will parse the respective profiles.ini file and clean all profiles defined therein.
.SH CONFIG FILE
Profile-cleaner will create $HOME/.config/profile-cleaner.conf the first time it is invoked. Users may define a color scheme therein based on their terminal background color. The default is a dark scheme for dark colored terminals. The file is commented and self-explanatory.
.SH EXAMPLES
Clean all firefox profiles:
.RE
.PP
.nf
.fam C
$ profile-cleaner f
.fam T
.fi
.RS
Clean chromium profile:
.RE
.PP
.nf
.fam C
$ profile-cleaner c
.fam T
.fi
.RS
Clean the user defined profile:
.RE
.PP
.nf
.fam C
$ profile-cleaner p /path/to/profile
.fam T
.fi
.SH SUPPORTED BROWSERS AND EMAIL CLIENTS
Currently, the following are supported:
.IP \(bu 3
Brave (stable, beta, dev and nightly)
.IP \(bu 3
Chromium (stable,beta,dev)
.IP \(bu 3
Conkeror
.IP \(bu 3
Edge
.IP \(bu 3
Firefox (stable,beta,aurora)
.IP \(bu 3
Google-chrome (stable,beta,dev)
.IP \(bu 3
Heftig's version of Aurora (https://bbs.archlinux.org/viewtopic.php?id=117157)
.IP \(bu 3
Inox (https://bbs.archlinux.org/viewtopic.php?id=198763)
.IP \(bu 3
Midori
.IP \(bu 3
Newsbeuter
.IP \(bu 3
Opera (stable, next, and developer)
.IP \(bu 3
Seamonkey
.IP \(bu 3
Thunderbird
.IP \(bu 3
Tor-browser
.IP \(bu 3
Vivaldi (stable and snapshot)
.SH SAMPLE OUTPUT
Sample output invoking the firefox \fIoption\fP (your mileage will vary).
.RE
.PP
.nf
.fam C
$ profile-cleaner f
/home/facade/.mozilla/firefox/zee52krz.default/cookies.sqlite reduced by .87 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/signons.sqlite reduced by .41 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/downloads.sqlite reduced by .56 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/chromeappsstore.sqlite reduced by .03 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/urlclassifier3.sqlite reduced by 43.10 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/formhistory.sqlite reduced by .11 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/addons.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/permissions.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/content-prefs.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/extensions.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/webappsstore.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/OfflineCache/index.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/search.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/places.sqlite reduced by 9.98 Mbytes
firefox profile reduced by 55.06 Mbytes
.fam T
.fi
.SH CONTRIBUTE
Should you wish to contribute to this code, please fork and send a pull request. Source is freely available on github: https://github.com/graysky2/\fBprofile-cleaner\fP
.SH BUGS
None known.
.SH AUTHOR
graysky (graysky AT archlinux DOT us)
.SH SEE ALSO
profile-sync-deamon (1)
|