From d07f04e77ea870565021d544983a811ed77eec4a Mon Sep 17 00:00:00 2001 From: danipatko Date: Sun, 8 Feb 2026 15:27:57 +0100 Subject: [PATCH] add utilities --- process.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/process.sh b/process.sh index bbbabdd..68c657e 100644 --- a/process.sh +++ b/process.sh @@ -22,6 +22,9 @@ find "$SOURCE_ROOT" -type f \( -name "*.zip" -o -name "*.7z" -o -name "*.rar" \) # Create a temp directory for extraction temp_dir=$(mktemp -d) + echo "Extracted to: $temp_dir" + tree "$temp_dir" # DEBUG + # Extract contents 7z x "$archive" -o"$temp_dir" -y > /dev/null @@ -35,7 +38,7 @@ find "$SOURCE_ROOT" -type f \( -name "*.zip" -o -name "*.7z" -o -name "*.rar" \) -not -path "./data.acd" \ -not -path "./physics/standard/data.acd" \ -not -path "./physics/csp/data.acd" \ - -delete; + -delete echo "After filtering:" tree "$temp_dir/$car_name"