From de93b8166c7c5fdccf49d9306c48ad79e5a9ef2c Mon Sep 17 00:00:00 2001 From: Andreas Herten <a.herten@fz-juelich.de> Date: Mon, 11 Nov 2019 14:28:53 +0100 Subject: [PATCH] Add deploy script --- .deploy.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .deploy.sh diff --git a/.deploy.sh b/.deploy.sh new file mode 100644 index 0000000..7c4ada8 --- /dev/null +++ b/.deploy.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +if [ -f $HOME/Documents/NVAL/Courses/SC/OpenPOWER-Tutorial-SC19/Ascent-Prep/.ascent-password ]; then + SSHPASSWRAPPER="sshpass -f $HOME/Documents/NVAL/Courses/SC/OpenPOWER-Tutorial-SC19/Ascent-Prep/.ascent-password" +else + SSHPASSWRAPPER="" +fi + +$SSHPASSWRAPPER rsync --archive --verbose --compress --cvs-exclude --exclude=".*" --exclude="*-openpower.tar.gz" ./ ascent:/gpfs/wolf/trn003/world-shared/material/ -- GitLab