#!/bin/bash cd $(dirname $0) # read configuration variables source config.sh export RESTIC_PASSWORD=${BACKUP_PASSWORD} $RESTIC --repo $URI $QUIET prune "$@" unset RESTIC_PASSWORD