From 0d9fc6b278f5c76626813d7b358dccf3bf5cbb44 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 4 Aug 2022 21:26:48 +0200 Subject: Add vcf2sxmo.sh --- vcf2sxmo.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 vcf2sxmo.sh (limited to 'vcf2sxmo.sh') diff --git a/vcf2sxmo.sh b/vcf2sxmo.sh new file mode 100755 index 0000000..073b549 --- /dev/null +++ b/vcf2sxmo.sh @@ -0,0 +1,12 @@ +#!/bin/sh + + +# check dependency +if ! command -v khard > /dev/null 2>&1 +then + echo 'You have to install khard!' + exit 1 +fi + +# convert khard contacts to SXMO (https://sxmo.org/) format +khard phone -p | sed 's/\t/ /2' -- cgit v1.2.3-70-g09d2