From 5ea46bda653d58aea92deed70f5dc87849d08aa4 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Thu, 6 Apr 2017 00:14:14 +0100 Subject: [PATCH] archive.sh also creates a highly compressed .xz archive --- archive.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/archive.sh b/archive.sh index 58c29fcc..1ea0a7a0 100755 --- a/archive.sh +++ b/archive.sh @@ -5,3 +5,6 @@ GPGHOMEDIR=$2 git archive --format=tgz "$1" > cryfs-$1.tar.gz gpg --homedir "$GPGHOMEDIR" --armor --detach-sign cryfs-$1.tar.gz + +git archive --format=tar "$1" | xz -9 > cryfs-$1.tar.xz +gpg --homedir "$GPGHOMEDIR" --armor --detach-sign cryfs-$1.tar.xz