$ pgrep -u `id -u` firefox-bin || find ~/.mozilla/firefox '*.sqlite'|(while read -e f; do echo 'vacuum;'|sqlite "$f" ; done)
Sqlite database keeps collecting cruft as time passes, which can be cleaned by the 'vacuum;' command. This command cleans up the cruft in all sqlite files relating to the user you have logged in as. This command has to be run when firefox is not running, or it will exit displaying the pid of the firefox running.
by David Winterbottom (codeinthehole.com)
0sem comentários ainda