diff --git a/list_files.sh b/list_files.sh new file mode 100755 index 0000000000000000000000000000000000000000..3d7554dce5e7d7c7d9851b013bdf96e01183f612 --- /dev/null +++ b/list_files.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 list-current-files ftp://$user@$host/$remotedir/ + +unset PASSPHRASE +unset FTP_PASSWORD