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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -