add utilities

This commit is contained in:
2026-02-08 15:35:18 +01:00
parent d07f04e77e
commit 4ad08a4642

View File

@@ -22,12 +22,12 @@ find "$SOURCE_ROOT" -type f \( -name "*.zip" -o -name "*.7z" -o -name "*.rar" \)
# Create a temp directory for extraction
temp_dir=$(mktemp -d)
# Extract contents
7z x "$archive" -o"$temp_dir" -y # > /dev/null
echo "Extracted to: $temp_dir"
tree "$temp_dir" # DEBUG
# Extract contents
7z x "$archive" -o"$temp_dir" -y > /dev/null
# FILTERING LOGIC
find "$temp_dir/$car_name" -not -path "./skins/*/livery.png" \
-not -path "./skins/*/preview.jpg" \