Skip to content

Instantly share code, notes, and snippets.

@Kr3m
Created January 26, 2023 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kr3m/7983eb452c120cc237fad6b074463fec to your computer and use it in GitHub Desktop.
Save Kr3m/7983eb452c120cc237fad6b074463fec to your computer and use it in GitHub Desktop.
find assets in pk3 files in Quake 3.
#!/bin/bash
for file in *.pk3; do
if ( zipinfo -l "$file" | grep -q "$1"); then
echo "$file"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment