Skip to content

Instantly share code, notes, and snippets.

View Gubio's full-sized avatar
🌴
On vacation

Paulo Gúbio Gubio

🌴
On vacation
View GitHub Profile
@Gubio
Gubio / facebook-contact-info-summary.rb
Created March 23, 2018 13:59 — forked from dylanmckay/facebook-contact-info-summary.rb
A Ruby script for collecting phone record statistics from a Facebook user data dump
#! /usr/bin/env ruby
# This script can be used to parse and dump the information from
# the 'html/contact_info.htm' file in a Facebook user data ZIP download.
#
# It prints all cell phone call + SMS message + MMS records, plus a summary of each.
#
# It also dumps all of the records into CSV files inside a 'CSV' folder, that is created
# in whatever the working directory of the program is when executed.
#