even bettar

This commit is contained in:
2026-05-12 04:58:38 -06:00
parent 8e81b4b29e
commit 809163760e
3 changed files with 5 additions and 246 deletions
+5 -2
View File
@@ -7,10 +7,13 @@ start_date="$(date)"
args="$@"
# backup_dir="/mnt/c/Users/human/Downloads/tint"
backup_dir="/mnt/d/Anbernic_Research_Tinkering_Save"
backup_dir="/mnt/c/Users/human/Downloads/tint"
error_log="${backup_dir}/error.log" # errror log path
cd "$backup_dir" # slide on in
# make errros get logged and also displayed to the terminal
exec 2> >(tee -a "$error_log" >&2)
# sum text colorz
RED='\033[0;31m' # anmgry red
YELLOW='\033[0;33m' # BOLD yellow :"3
@@ -59,7 +62,7 @@ when_done () {
delete_sha256_files () {
echo -e "${GREEN}Nuking all .sha256 files in $backup_dir${RESET}\n"
find "$backup_dir" -not -path "*.git*" -type f -name "*.sha256" -delete
find . -type f -name "*.sha256" -not -path "*.git*" -delete
}
verify_sha256_files() {