diff options
-rwxr-xr-x | vcf2sxmo.sh | 12 |
1 files changed, 12 insertions, 0 deletions
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' |