diff --git a/collection_status.sh b/collection_status.sh new file mode 100755 index 0000000000000000000000000000000000000000..53806c03759b7d624b3013163198e67f0f512d13 --- /dev/null +++ b/collection_status.sh @@ -0,0 +1,11 @@ +#!/bin/bash +DIR=$(realpath $(dirname $0)) +source $DIR/inc.sh + +export PASSPHRASE="$encpass" +export FTP_PASSWORD="$ftppass" + +/usr/bin/duplicity collection-status ftp://$user@$host/$remotedir/ + +unset PASSPHRASE +unset FTP_PASSWORD