Norton Antivirus or Norton Security might repeatedly alert you that a particular file or folder has a virus even though you know it doesn't. Like most good antivirus programs, the Norton AV software lets you white-list, or exclude, files and folders from being scanned.
The correct expression is -x.git., so the full command should be: zip -r bitvolution.zip bitvolution -x.git.An explanation from:The correct incantation is zip -9 -r -exclude=.svn. foo.zip directory-to-compressYou can also add a-exclude=.DSStore. to exclude the annoying Mac OS X directory display metadata files.Notice that the expression passed to -exclude is using the entire original relative directory path as the original string to match against. So.svn/. by itself doesn't work; the wildcard character in front ensures that it matches.svn directories anywhere in the directory tree. If you're trying to zip up a project which is stored in Git, use the git archive command. From within the source directory: git archive -o bitvolution.zip HEADYou can use any commit or tag ID instead of HEAD to archive the project at a certain point.If you want to add a prefix (e.g., a top level folder) to every file: git archive -o bitvolution.zip -prefix=bitvolution/ HEADYou can also adjust the compression level between 0 (no compression) and 9 (maximum compression) inclusive, for example git archive -o bitvolution.zip -9 HEADFor other options, see the help page ( git help archive).