I have a directory, c:\share, that I want to archive. However I want to exclude the .mp3 files in the directory.
What's wrong with the following command line?
7z a -tzip archive.zip c:\share -x!*.mp3
The .mp3 files are being included in the archive.
I'm using 7z 4.14 beta.
I have been having the same problems with 3.12
same problem with 4.15 beta
I'm getting the same error with a list of exclude files from the command line (4.15beta).
Having the same problem and found the solution: it's not the syntax of the -x switch but the -tzip switch. It worked liked charm as I removed it..
Strange, isnt it?