diff --git a/archive.tar.gz b/archive.tar.gz index c04f25b..c85f05f 100644 Binary files a/archive.tar.gz and b/archive.tar.gz differ diff --git a/dev-env.sh b/dev-env.sh index bcc6868..72c9b6b 100755 --- a/dev-env.sh +++ b/dev-env.sh @@ -29,12 +29,13 @@ _help() _extract_notes() { - if [ ! -e "./archive.tar.gz" ]; + if [ ! -e "./archive.tar.gz.gpg" ]; then - echo "archive.tar.gz does not exist." + echo "archive.tar.gz.gpg does not exist." exit 1 fi mkdir tmp + #gpg -o archive.tar.gz -d archive.tar.gz.gpg tar xzf archive.tar.gz -C . cp -r ./tmp/wiki $(dirname $VIMWIKIPATH) cp ./tmp/todo.txt $TODOTXTPATH @@ -58,6 +59,8 @@ _storage_notes() cp $HOME/.config/newsraft/feeds ./tmp/rssfeeds tar czf archive.tar.gz ./tmp/ rm -r tmp + #gpg -c archive.tar.gz + #rm archive.tar.gz echo "Notes successfully stored!" exit 0 }