Created
January 19, 2023 11:29
-
-
Save Kr3m/f0300ce939f242b020334a36c397e4e6 to your computer and use it in GitHub Desktop.
Output map names in pk3 files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find /home/qlserver/serverfiles/steamapps/workshop/content/282440 -name '*.pk3' -exec zipinfo -1 {} \; | grep '.bsp' | sed 's/^\(maps\/\)*//' | sed -e 's/\(.bsp\)*$//g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment