Created
March 21, 2019 16:21
-
-
Save tknr/a756ac0573ff51b1196e3a54836687db to your computer and use it in GitHub Desktop.
optimize sqlite db files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## http://d-goo.hatenablog.com/entry/2013/07/30/124148 | |
for db in `find ~/ -name *.db`;do echo ${db};sqlite3 ${db} vacuum; sqlite3 ${db} reindex;done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment