File: archives.bat

package info (click to toggle)
ufoai 2.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 82,128 kB
  • sloc: cpp: 225,227; python: 5,111; ansic: 4,133; php: 2,209; perl: 1,931; sh: 1,517; xml: 1,115; makefile: 401; sed: 11
file content (15 lines) | stat: -rw-r--r-- 1,102 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
rem NOTE: This batch file requires you to have the 7-zip command line utility, 7za.exe, in your path.
rem You can get this utility here: http://www.7-zip.org/download.html
rem -r recurse subdirectories. for example, this ensures that 0models.pk3 will contain stuff from "models\aliens" as well as "models".

7za u -tzip 0base.pk3 *.cfg mapcycle.txt irc_motd.txt ai\*.lua -x!".svn"
7za u -r -tzip 0maps.pk3 maps\*.bsp maps\*.ump -x!".svn"
7za u -r -tzip 0materials.pk3 materials\*.mat -x!".svn"
7za u -r -tzip 0media.pk3 media\*.ttf -x!".svn"
7za u -r -tzip 0models.pk3 models\*.md2 models\*.md3 models\*.obj models\*.dpm models\*.jpg models\*.png models\*.tga models\*.anm models\*.txt models\*.tag -x!".svn"
7za u -r -tzip 0music.pk3 music\*.ogg music\*.txt -x!".svn"
7za u -r -tzip 0pics.pk3 pics\*.jpg pics\*.tga pics\*.png textures\*.jpg textures\*.tga textures\*.png -x!".svn"
7za u -r -tzip 0snd.pk3 sound\*.ogg sound\*.wav -x!".svn"
7za u -r -tzip 0ufos.pk3 ufos\*.ufo -x!".svn"
7za u -r -tzip 0shaders.pk3 shaders\*.glsl -x!".svn"
7za u -r -tzip 0videos.pk3 videos\*.roq videos\*.ogm -x!".svn"