From de5564a4c64dfd223ef069ce1ff08c429ab0553a Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 10 Sep 2019 02:12:31 +0900 Subject: Also export friends --- rif-exportfriends.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 rif-exportfriends.sh (limited to 'rif-exportfriends.sh') diff --git a/rif-exportfriends.sh b/rif-exportfriends.sh new file mode 100755 index 0000000..0014a8b --- /dev/null +++ b/rif-exportfriends.sh @@ -0,0 +1,16 @@ +#!/bin/sh +# 2019-09-10, Nico Schottelius, Seoul + +if [ $# -ne 1 ]; then + echo "$0: " + echo 'Export your friends to the web!' + exit 1 +fi + +dir=$1; shift +keys="$dir/rifkeys" + +gpg -a --export RIF > "$keys" + +# Ensure everyone can read them +chmod 0644 "$keys" -- cgit v1.2.3