profile-cleaner(1)

πŸ“¦
version 2.46 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– profile-cleaner(1) πŸ’–

okay bestie, welcome to the manual for profile-cleaner β€” the little shell script that makes your browser profiles ✨skinnier✨. it's a section-1 manual page, it's iconic, and you're gonna love it.


🌸 NAME 🌸

profile-cleaner β€” shrink your browser (and a few email app) profiles by organizing their sqlite databases with sqlite3's vacuum and reindex functions. and yeah, "browser" is used loosely here because profile-cleaner is happy to work on some email clients too. it's giving versatile πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

profile-cleaner [option]

✨ DESCRIPTION ✨

so like, profile-cleaner is a very simple shell script that calls up sqlite3 to vacuum and reindex the databases belonging to supported browsers and email clients. no cap, that's the whole vibe.

it's compatible with profile-sync-daemon, so you do not have to stop psd before you call profile-cleaner. and honestly? profiles clean way faster when they're synced to tmpfs via psd. main character energy fr fr πŸ”₯

⚠️ the one thing you MUST do: make sure your target browsers or email clients are not running when you invoke profile-cleaner. if you don't, the open files will NOT get cleaned and reindexed. like, at all. zero. it's giving wasted effort 😭 so close them first, bestie.

πŸ’… OPTIONS πŸ’…

one option per run, and each one is a lil vibe:

  • 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

* for the starred ones, profile-cleaner will parse the respective profiles.ini file and clean all profiles defined in there. all of them. every single one 🫢


πŸŽ€ CONFIG FILE πŸŽ€

the very first time you invoke profile-cleaner, it creates $HOME/.config/profile-cleaner.conf for you. cute, right?

inside, you can define a color scheme based on your terminal's background color. the default is a dark scheme for dark colored terminals. the file is commented and self-explanatory, so you won't be lost. iykyk ✨


🌈 EXAMPLES 🌈

clean all firefox profiles:

$ profile-cleaner f

clean the chromium profile:

$ profile-cleaner c

clean a user-defined profile:

$ profile-cleaner p /path/to/profile

πŸ‘‘ SUPPORTED BROWSERS AND EMAIL CLIENTS πŸ‘‘

currently, the following are supported:


πŸ“ SAMPLE OUTPUT πŸ“

here's what it looks like when you invoke the firefox option (your mileage will vary, bestie):

$ 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 🧚

wanna contribute to this code? slay. please fork and send a pull request. the source is freely available on github:

https://github.com/graysky2/profile-cleaner


πŸ’€ BUGS πŸ’€

none known. periodt.


πŸ’œ AUTHOR πŸ’œ

graysky (graysky AT archlinux DOT us)


⭐ SEE ALSO ⭐

profile-sync-deamon (1)


🌸 and that's the whole page, bestie! this lil manual is from the source/version line that says profile-cleaner(1), dated 14 February 2026. go forth and vacuum those databases πŸ’–βœ¨πŸŽ€
πŸ“¦ where this page comes from