diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2016-07-23 23:03:55 +0200 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2016-07-24 16:34:02 +0200 |
commit | 261b107a6d46054ee7a8b710f2557eac76c502ff (patch) | |
tree | 398109275dc49fac4e59f3d10732ff56928f5a21 | |
parent | Fix start of store command (diff) | |
download | backuper-261b107a6d46054ee7a8b710f2557eac76c502ff.tar.xz |
A lot of cleanup
-rw-r--r-- | backuper.sh | 15 |
1 files changed, 0 insertions, 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 |