1
2
3
4
# make sure sqlite is installed
sudo apt-get install sqlite3
# vacuum'em-all
find ~/.mozilla -name "*.sqlite" -exec sqlite3 {} "VACUUM;" \;