OLD | NEW |
---|---|
(Empty) | |
1 ## How to generate history.N.sql files using a Chromium build. | |
svaldez
2016/04/12 20:54:17
Add a note about the README in the CL description.
| |
2 | |
3 On a Linux build: | |
4 | |
5 1. Build the `sqlite_shell` target. This will build the [SQLite CLI]. | |
6 | |
7 $ ninja sqlite_shell | |
8 | |
9 2. Run Chrome/Chromium with a fresh profile directory and immediately quit. It | |
10 doesn't really matter how long you run it, but there'll be less work for you | |
11 if you quit early. | |
12 | |
13 $ out/Debug/chrome-wrapper --user-data-dir=foo | |
14 | |
15 3. Locate the `History` file in the profile directory. | |
16 | |
17 4. Dump the `History` database into a text file: | |
18 | |
19 $ echo '.dump' | sqlite_shell foo/Default/History > history.sql | |
20 | |
21 5. Manually remove all `INSERT INTO` statements other than the statements | |
22 populating the `meta` table. | |
23 | |
24 [SQLite CLI]: https://www.sqlite.org/cli.html | |
25 | |
OLD | NEW |