Skip to content

Instantly share code, notes, and snippets.

@simmac
simmac / create_contacts.sh
Last active April 19, 2016 10:49
Threema Backup to openMittsu contacts file
#!/bin/bash
inputdir="."
outputfile="contacts.txt"
firstfields='print $2, ":", $3, ":"'
namefields=', $7, $8, "("$9")"'
id=', $2'
firstname=', $7'
lastname=', $8'