Quote:
Originally Posted by nynaevelan
Out of curiosity has this hack revealed any collections files that the Touch uses to store collections data??
|
The file /var/local/cc.db seems like the collections store. It is a simple sqlite3 database with ~3 tables and a few triggers. Should be a piece of cake to write a management application:
Code:
$ sqlite3 ./cc.db
SQLite version 3.7.7 2011-06-23 19:49:22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .schema Entries
CREATE TABLE Entries
(
p_uuid PRIMARY KEY NOT NULL, -- ID of entry (UUID)
p_type, -- App-defined type (string)
p_location, -- Location (URI to content)
p_lastAccess, -- Last access (datetime)
...
It even has field documentation! Every attribute is described, sometimes with multiple lines of documentation...