~carloabelli/bin

026d6c5bd22f3ebdfa81891ed20b9ea965d2c83a — Carlo Abelli 9 months ago 2c82710
use zstd compression for encrypt-dir
1 files changed, 1 insertions(+), 1 deletions(-)

M encrypt-dir
M encrypt-dir => encrypt-dir +1 -1
@@ 8,4 8,4 @@ fi
dir="$1"
pub_key="$2"

XZ_DEFAULTS="-T 0" tar -cvJ "$dir" | age -r "$pub_key" > "$dir.tar.xz.age"
ZSTD_NBTHREADS=0 tar -c --zstd "$dir" | age -r "$pub_key" > "$dir.tar.zstd.age"