mobcount
Count i/o calls or SMS on (Jolla) mobile devices running Sailfish OS
...:
./mobcount.sh <mode> <io> <t1> <t2>
where:
mode = c (call) or s (sms)
io = i (incoming), o (outgoing)
t1 = start time (unix format)
t2 = end time (unix format)
For further information see source code and README.
The script runs on other Linux OS, too.
The script uses sqlite3 (pre-installed on Jolla / installable on desktop Linux OS) to evaluate a SQL database (loc.: /home/nemo/.local/share/commhistory/commhistory.db) which contains a full history of all calls and SMS.