From 261b107a6d46054ee7a8b710f2557eac76c502ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Sat, 23 Jul 2016 23:03:55 +0200 Subject: A lot of cleanup --- backuper.sh | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/backuper.sh b/backuper.sh index f8ef7e1..a68d1a3 100644 --- a/backuper.sh +++ b/backuper.sh @@ -48,12 +48,6 @@ cmd() { places() { PLACES="$1" [ "$#" -gt 1 ] && error "Specify places as string" - - #STR="" - #for PLACE in "$@"; do - # STR="$STR "$PLACE"" - #done - #PLACES="$STR" } exclude() { @@ -198,15 +192,6 @@ store_file() { store "sh -c 'cat > ${1}/${FILENAME_ENC}'" } -#enc() { -# title "Encrypt" -# /usr/bin/time -f "$TIME_FMT" gpg --compress-algo zlib --recipient "$GPG_RECIPIENT" -e "$DST"/"$FILENAME" -# [ "$?" != 0 ] && die "Encription failed" -# rm "$DST"/"$FILENAME" -# printf "Encrypted backup:\t%s (%s)\n\n" "$FILENAME_ENC" "$(get_size "$DST"/"$FILENAME_ENC")" -#} -# - backup() { test_input prepare -- cgit v1.2.3