Last active
August 29, 2015 14:07
-
-
Save seanburlington/85e282537f6f2f631414 to your computer and use it in GitHub Desktop.
Search across skype chats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export username=skype.name | |
export thedate=$(date +%Y-%m-%d) | |
sqlite3 ~/.Skype/${username}/main.db \ | |
"SELECT displayname, datetime(Messages.timestamp, 'unixepoch') as date, body_xml | |
FROM Messages, Conversations | |
WHERE Conversations.id=Messages.convo_id and date(Messages.timestamp, 'unixepoch') == '${thedate}' and author='${username}' | |
ORDER BY Messages.timestamp;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment