From 8f6e86ee72a20fc9bbac62d71e0921b152eaa0bb Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 29 Aug 2023 15:44:16 +0200 Subject: Sync Not much tbh. I'm fairly happy with my setup --- .scripts/encrypt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 .scripts/encrypt (limited to '.scripts/encrypt') diff --git a/.scripts/encrypt b/.scripts/encrypt new file mode 100755 index 0000000..6b399d8 --- /dev/null +++ b/.scripts/encrypt @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +gpg --encrypt --armor --recipient "Master" -o "$1.enc" "$1" +shred "$1" +mv "$1.enc" "$1" -- cgit v1.2.3