From 2d928222c654ce1bb616500b7cc2f5655361bb53 Mon Sep 17 00:00:00 2001 From: Yuxin Wu Date: Mon, 8 Feb 2016 10:38:38 -0500 Subject: [PATCH] update --- README.md | 6 +++++- count-message.sh | 1 + legacy/compatibility.sh | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) create mode 120000 legacy/compatibility.sh diff --git a/README.md b/README.md index bc724ec..b747630 100644 --- a/README.md +++ b/README.md @@ -61,10 +61,14 @@ Also, if the decryption doesn't work with pysqlcipher, maybe try the version of + This takes a __long__ time. #### Run: -+ Parse and dump text messages of __every__ contact (resource directory is not needed to run this): ++ Parse and dump text messages of __every__ chat (resource directory is not needed to run this): ``` ./dump-msg.py decrypted.db output_dir ``` ++ List all chats: +``` +./list-chats.py decrypted.db +``` + Generate statistical report on text messages: ``` ./count-message.sh output_dir diff --git a/count-message.sh b/count-message.sh index 7d496cb..3e8d42f 100755 --- a/count-message.sh +++ b/count-message.sh @@ -9,6 +9,7 @@ then echo "Usage: $0 [Directory of text messages]" exit 1 fi +# TODO work on db directly echo -e "Filename\tCounts of message\tCounts of chars\tCounts of words" diff --git a/legacy/compatibility.sh b/legacy/compatibility.sh new file mode 120000 index 0000000..8bcf3f5 --- /dev/null +++ b/legacy/compatibility.sh @@ -0,0 +1 @@ +../compatibility.sh \ No newline at end of file