With this bash script the amount of incoming or outgoing calls or SMS between two passed points t1 and t2 can be counted on mobile devices running Sailfish OS (tested with Jolla phone).

The script returns the amount of incoming or outgoing call or SMS units between two points t1 <= t2. By default one call unit is 60s and one SMS unit 160 chars.

Copy the script (set permission to executable) to your mobile device (e.g. to folder /home/nemo/bash/).

Execution in Sailfish's Terminal app:

./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.

Project Samples

Project Activity

See All Activity >

Categories

Mobile

License

GNU General Public License version 3.0 (GPLv3)

Follow mobcount

mobcount Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of mobcount!

Additional Project Details

Operating Systems

Linux, Server Operating Systems

Languages

English

Intended Audience

Advanced End Users

User Interface

Console/Terminal

Programming Language

Unix Shell

Database Environment

SQL-based

Related Categories

Unix Shell Mobile Software

Registered

2016-11-22