Deleted that part

This commit is contained in:
Michael Rodin 2023-09-02 20:55:43 +02:00
parent e3e13d257c
commit 062bddbeec

View file

@ -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:<file> 2:<remotedir>