Created
October 22, 2014 11:11
-
-
Save seanburlington/740d136e58d8b87d057f to your computer and use it in GitHub Desktop.
search skype chats
This file contains hidden or 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
#!/bin/bash | |
export username=skype.name | |
sqlite3 -column ~/.Skype/$username/main.db \ | |
"SELECT displayname, from_dispname, datetime(Messages.timestamp, 'unixepoch') as date, body_xml | |
FROM Messages, Conversations | |
WHERE Conversations.id=Messages.convo_id and body_xml like '%$searchterm%' | |
ORDER BY Messages.timestamp;" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment