diff --git a/.deploy.sh b/.deploy.sh new file mode 100644 index 0000000000000000000000000000000000000000..7c4ada8d256c6e88151be4f5843248691428e14e --- /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/