diff options
Diffstat (limited to 'scripts/backup-directory')
-rw-r--r-- | scripts/backup-directory | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/backup-directory b/scripts/backup-directory deleted file mode 100644 index 2b754f0..0000000 --- a/scripts/backup-directory +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# Backup a directory using GPG. -# Usage: backup-directory directory-name - -DIRECTORY="$1" - -7z a "$DIRECTORY.7z" "$DIRECTORY" -gpg --encrypt --armor --symmetric --output "$DIRECTORY.7z.asc" "$DIRECTORY.7z" -sha256sum "$DIRECTORY.7z.asc" | cut -c1-64 > "$DIRECTORY.asc.sum" - |