Last active
January 4, 2016 00:49
-
-
Save syphoxy/8543728 to your computer and use it in GitHub Desktop.
search skype for mac chatsync data for keywords: $ bash search-chatsync "your phrase here"
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
#!/bin/bash | |
echo -n "Searching for '$1' in chatsync .. " | |
find "$HOME/Library/Application Support/Skype" -type d -name chatsync -print0 \ | |
| xargs -0 -I{} find {} -type f -name '*.dat' \ | |
| while read syncFile | |
do | |
(strings "$syncFile" | fgrep -qi "$1") \ | |
&& (strings "$syncFile" | less -p"$1") | |
done | |
echo "done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment