I am on windows 10, and I'm struggling to exclude a directory from archive using the 7z CLI
Archive directory: D:/ zip file: C:/users/hamster/desktop/archive.zip exclude folder: D:/movies
Command:
C:\Program Files\7-Zip\7z.exe a -mhe -p{password} c:/users/hamster/desktop/archive.zip D:/ -x!D:/movies
7z still archives the movies directory. Any help is appreciated.