From 7b7849d98fccb957100d8d0a36707ae598013c7a Mon Sep 17 00:00:00 2001 From: dev Date: Mon, 8 Aug 2016 14:09:09 -0500 Subject: [PATCH] Need to update this to indicate the new encryption --- aether.bash | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/aether.bash b/aether.bash index 9779fcb..4eaf753 100755 --- a/aether.bash +++ b/aether.bash @@ -10,11 +10,8 @@ cd /home/aether if [ $(ls ./aether-*.tar.gz | wc -l) -gt 7 ]; then rm $(ls -tr ./aether-*.tar.gz | head -n 1); fi -export TARGET="aether-"$(date +%F)".tar.gz" +export TARGET="aether-"$(date +%F)".enc" printf "get /aether/aether.enc %s\nbye\n" $TARGET | sftp -o IdentityFile=./.ssh/aether aether@aninix.net -rm -Rf target -gunzip -c $TARGET | tar xvf - - echo "Failsafe populated. Today\'s was saved to "$TARGET exit