add utilities

This commit is contained in:
2026-02-08 15:27:57 +01:00
parent 7f3455c613
commit d07f04e77e

View File

@@ -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"