Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pilebones/go-sms-backup-and-restore

Golang script to export "SMS Backup & Restore" messages
https://github.com/pilebones/go-sms-backup-and-restore

Last synced: 17 days ago
JSON representation

Golang script to export "SMS Backup & Restore" messages

Awesome Lists containing this project

README

        

# go-sms-backup-and-restore

Golang script to export "SMS Backup & Restore" messages

# Intro

This script allow to retrieve messages related to a specific phone number inside an XML backup generated by [SMS Backup & Restore](https://play.google.com/store/apps/details?id=com.riteshsahu.SMSBackupRestore&hl=fr).

# Requirements

`apt-get install xsltproc`

# Installation

`go get pilebones/go-sms-backup-and-restore`

# Usage

- Export messages related to a phone number :
`go-sms-backup-and-restore -input my_sms_backup.xml -output my_backup_filtered.xml -phonenumber 0600000000`

- Generate HTML from XML file:
`xsltproc sms.xsl my_backup_filtered.xml > my_backup_filtered.html`

- Print in PDF: open in your browser and print it to PDF file.

Note: Or use provided script : `dump-xml.sh `