diff --git a/backup-rclone.sh b/backup-rclone.sh index 7d573e0..6ec56b4 100755 --- a/backup-rclone.sh +++ b/backup-rclone.sh @@ -44,11 +44,6 @@ recursive_backup() { backup "$backupfile" "backup:$backdir$flpth" done <<< "$(find "$dir" -type f)" done - touch missing-files.txt - while read i; do # TODO: DELETE THIS PART - sfile="${i#* }" - if [[ -f "$sfile" ]]; then df="Hi"; else echo "Missing: $sfile"; echo "$sfile" >> missing-files.txt; fi - done <<<$(cat $hashtemp) cleanup $hashtemp $hashdb } backup() { # backup 1: 2: