Is there a 7zip or winzip command to use so that the compression avoids thumbs.db files?
Asked
Active
Viewed 3,524 times
1 Answers
4
For 7zip,-x is the file exclusion option switch.
7z.exe a test.7z C:test* -r -x!thumbs.db
See Excluding Files at the following link.

jschmier
- 15,458
- 6
- 54
- 72
-
I needed this for .DS_Store on MacOS X, but what I didn't realize I needed every time was `-r`, which is the secret sauce here. Thanks! – ZiggyTheHamster Jan 02 '13 at 19:40