I am working on a game (Quake 3) and use an SVN repository to store the code tree. The tree also contains game data (textures, models, etc). This must be put into a PK3 archive (a standard ZIP archive with a different extension). I use the ZIP utility in a simple script to create the PK3 archive.

My problem is that the game data is also versioned, and the folder containing the data is cluttered with all those '.svn' subfolders. Of course, ZIP includes these subfolders into the archive. They are not needed by the game. Is there a simple way to tell ZIP to exclude all '.svn' subfolders from the archive?