diff options
Diffstat (limited to 'git-maintenance')
-rw-r--r-- | git-maintenance/.bsv/info/.keepme | 0 | ||||
-rw-r--r-- | git-maintenance/.bsv/objects/.keepme | 0 | ||||
-rw-r--r-- | git-maintenance/.bsv/tx/.keepme | 0 | ||||
-rwxr-xr-x | git-maintenance/resume.sh | 13 |
4 files changed, 13 insertions, 0 deletions
diff --git a/git-maintenance/.bsv/info/.keepme b/git-maintenance/.bsv/info/.keepme new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/git-maintenance/.bsv/info/.keepme diff --git a/git-maintenance/.bsv/objects/.keepme b/git-maintenance/.bsv/objects/.keepme new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/git-maintenance/.bsv/objects/.keepme diff --git a/git-maintenance/.bsv/tx/.keepme b/git-maintenance/.bsv/tx/.keepme new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/git-maintenance/.bsv/tx/.keepme diff --git a/git-maintenance/resume.sh b/git-maintenance/resume.sh new file mode 100755 index 0000000..38e4e0f --- /dev/null +++ b/git-maintenance/resume.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +echo +echo == Enter password. == +echo +PASS="pass:$(echo 53616c7465645f5f6eb8e165b79052263e125e4070138e26b3d127bb36e3e943f212d2d761a4426170cc2c17c58bc5d67c99eddb1df6ee1c02d7b33dd95ecdf0 | xxd -ps -r | openssl aes-256-cbc -salt -pbkdf2 -d)" +ROOTDIR="$(git rev-parse --show-toplevel)" +cd "$ROOTDIR" +GITDIR="$ROOTDIR/.git" +MAINTDIR="$ROOTDIR/git-maintenance" + +cd "$MAINTDIR" +node bsvup/cli.js upload -f "$GITDIR"/encrypted -t dir -p "${PASS#pass:}" -v # -b |