Quote Originally Posted by Ampersandrew View Post
I'm running Debian in WSL on Windows 10. I have a bash script in the root of the game mode.


#!/bin/bash

rm -v ../DeadlandsClassic.pak

zip -r ../DeadlandsClassic.pak * -x $0 t/ t/* misc/ misc/*

I have a folder for stuff I want to keep about but don't want in the final pak file. That's the misc. The t folder contains tests for the lua code.

Of course, I tend to run this too, or I get lots of editor back up files in there that I don't want.

#!/bin/bash

find . -iname ".*~" -o -iname "*~" | xargs rm -vf -
Neat. 7z is working fine but thanks for the script!