Chromium

From NBSWiki

Jump to: navigation, search

Locked Database/profile

Simple one-liner (well, 2) to run after a system crash or unexpected reboot:

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

IMPORTANT IFS is being set to \cr and nothing else! I posted this 'fix' here

Personal tools