Skip to content

Instantly share code, notes, and snippets.

@filviu
Created August 18, 2014 08:41
Show Gist options
  • Save filviu/fa2a7fcacd9cad5ae038 to your computer and use it in GitHub Desktop.
Save filviu/fa2a7fcacd9cad5ae038 to your computer and use it in GitHub Desktop.
Optimize firefox databases (or any other sqlite db)
#!/bin/bash
for file in ~/.mozilla/firefox/*/*.sqlite; do
sqlite3 $file 'VACUUM;'
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment