$ commhistory-tool Usage: commhistory-tool listgroups list [-t] [-p] [-group group-id] [local-uid] [remote-uid] listcalls [{bycontact|bytime} [resolve]] listcontact {contact-id|local-uid remote-uid} add [-newgroup] [-group group-id] [-startTime yyyyMMdd:hh:mm] [-endTime yyyyMMdd:hh:mm] [{-sms|-mms}] [{-in|-out}] [-n number-of-messages] [-async] [-text message-text] local-uid remote-uid addcall local-uid remote-uid {dialed|missed|received} addVCard event-id filename label addClass0 isread event-id {1|0} isvideo event-id {1|0} reportdelivery event-id {1|0} setstatus event-id {unknown|sent|sending|delivered|temporarilyfailed|permanentlyfailed} delete event-id deletegroup group-id deleteall [-groups] [-calls] [-reset] markallcallsread export [-group group-id] [-calls] [-groups] filename import filename import-json [-relativeDate yyMMdd] filename When adding new events, the default count is 1. When adding new events, the given local-ui is ignored, if -sms or -mms specified. New events are of IM type and have random contents.
$ commhistory-tool listgroups (choose a group, say 90) $ commhistory-tool list -group 90 (all messages from one number)
$ sqlite3 /home/nemo/.local/share/commhistory/commhistory.db
commhistory:Events:freeText:nnn