.\" 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)