Created
December 9, 2013 08:31
-
-
Save jersub/7869100 to your computer and use it in GitHub Desktop.
Unlock Chromium's SQLite databases when your profile is corrupted. From kyron: http://www.google.com/support/forum/p/Chrome/thread?fid=46cbd32bea7f4fec00048665de6e82de&hl=en
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
IFS=" | |
" | |
for I in `file ~/.config/chromium/Default/*|grep SQL|cut -f1 -d:`; do echo '.dump' | sqlite3 $I > ${I}.sql && rm $I && sqlite3 $I < ${I}.sql && rm ${I}.sql ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment