#!/bin/bash # variables BACKUP_PATH="/media/isabell/Elements\ SE/isabell_tuxedo/" # EXCLUDED_DIRS={} # backup execution if [[ -f $BACKUP_PATH ]] && echo "Starting rsync backup of home directory to $BACKUP_PATH"; then #if [ "$EXCLUDED_DIRS" = "" ]; then rsync -av --delete $HOME $BACKUP_PATH #fi else echo "Device or location designated for the backup does not exist." fi