How to exclude .svn folders from a ZIP archive? -
i working on game (quake 3) , use svn repository store code tree. tree contains game data (textures, models, etc). must put pk3 archive (a standard zip archive different extension). use zip utility in simple script create pk3 archive.
my problem game data versioned, , folder containing data cluttered '.svn' subfolders. of course, zip includes these subfolders archive. not needed game. there simple way tell zip exclude '.svn' subfolders archive?
zip -r output.zip inputdir -x "**/.svn**"
this exclude starting ".svn" in subfolder
Comments
Post a Comment