Man page - profile-cleaner(1)
Packages contains this manual
apt-get install profile-cleaner
Manual
profile-cleaner
NAMESYNOPSIS
DESCRIPTION
OPTIONS
CONFIG FILE
EXAMPLES
SUPPORTED BROWSERS AND EMAIL CLIENTS
SAMPLE OUTPUT
CONTRIBUTE
BUGS
AUTHOR
SEE ALSO
NAME
profile-cleaner - 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.
SYNOPSIS
profile-cleaner [ option ]
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 profile-cleaner . In fact, profiles will clean much faster when they are synced to tmpfs via psd.
Make sure that target browsers or email clients are not running when invoking profile-cleaner . Failure to do so will result in the open files NOT getting cleaned and reindexed.
OPTIONS
|
b |
Clean braveâs profile |
|||
|
c |
Clean chromiumâs profile |
|||
|
ck |
Clean conkerorâs profile (s)* |
|||
|
e |
Clean edgeâs profile |
|||
|
f |
Clean firefoxâs profile (s)* |
|||
|
fa |
Clean falkonâs profile |
|||
|
gc |
Clean google-chromeâs profile |
|||
|
h |
Clean heftig auroraâs profile (s)* |
|||
|
i |
Clean icecatâs profile (s)* |
|||
|
id |
Clean icedoveâs profile |
|||
|
ix |
Clean Inoxâs profile |
|||
|
l |
Clean Librewolfâs profile |
|||
|
m |
Clean midoriâs profile |
|||
|
o |
Clean operaâs profile |
|||
|
t |
Clean thunderbirdâs profile (s)* |
|||
|
to |
Clean tor-browserâs profile |
|||
|
s |
Clean seamonkeyâs profile (s)* |
|||
|
pm |
Clean palemoonâs profile (s)* |
|||
|
p |
Clean the defined paths |
|||
|
v |
Clean vivaldiâs profile |
*Profile-cleaner will parse the respective profiles.ini file and clean all profiles defined therein.
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.
EXAMPLES
Clean all firefox profiles:
$ profile-cleaner f
Clean chromium profile:
$ profile-cleaner c
Clean the user defined profile:
$ profile-cleaner p /path/to/profile
SUPPORTED BROWSERS AND EMAIL CLIENTS
Currently, the following are supported:
|
⢠|
Brave (stable, beta, dev and nightly) |
||
|
⢠|
Chromium (stable,beta,dev) |
||
|
⢠|
Conkeror |
||
|
⢠|
Edge |
||
|
⢠|
Firefox (stable,beta,aurora) |
||
|
⢠|
Google-chrome (stable,beta,dev) |
||
|
⢠|
Heftigâs version of Aurora (https://bbs.archlinux.org/viewtopic.php?id=117157) |
||
|
⢠|
Inox (https://bbs.archlinux.org/viewtopic.php?id=198763) |
||
|
⢠|
Midori |
||
|
⢠|
Newsbeuter |
||
|
⢠|
Opera (stable, next, and developer) |
||
|
⢠|
Seamonkey |
||
|
⢠|
Thunderbird |
||
|
⢠|
Tor-browser |
||
|
⢠|
Vivaldi (stable and snapshot) |
SAMPLE OUTPUT
Sample output invoking the firefox option (your mileage will vary).
$
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
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/ profile-cleaner
BUGS
None known.
AUTHOR
graysky (graysky AT archlinux DOT us)
SEE ALSO
profile-sync-deamon (1)