Skip to content

Instantly share code, notes, and snippets.

@bright-spark
Forked from dive/skype_history.sh
Created January 30, 2016 22:00
Show Gist options
  • Save bright-spark/260aea9874803507fc2a to your computer and use it in GitHub Desktop.
Save bright-spark/260aea9874803507fc2a to your computer and use it in GitHub Desktop.
open Skype DB with history and remove some items (Mac OS)
# shutdown Skype
# Skype username - it's a login at Skype
# Mac username - it's a short username of Mac OS X (ex.: dive)
# <...> should be entered without brackets <>
#copy this one, paste to Terminal.app and hit Enter
sqlite3 "$HOME/Library/Application Support/Skype/<your_skype_username>/main.db"
#then copy this one, paste to Terminal.app where sqlite3 running and hit Enter
delete from Messages where dialog_partner = '<delete_history_of_conversation_with_particurarly_username>';
#done
#if you want to remove history with another username, just hit Up arrow and replace username
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment