Add to a 7-Zip archive: How to exclude certain file types/extensions?
--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 2 Looping
--
Chapters
00:00 Add To A 7-Zip Archive: How To Exclude Certain File Types/Extensions?
00:19 Accepted Answer Score 77
00:40 Answer 2 Score 1
00:55 Thank you
--
Full question
https://superuser.com/questions/185135/a...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows7 #7zip
#avk47
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 2 Looping
--
Chapters
00:00 Add To A 7-Zip Archive: How To Exclude Certain File Types/Extensions?
00:19 Accepted Answer Score 77
00:40 Answer 2 Score 1
00:55 Thank you
--
Full question
https://superuser.com/questions/185135/a...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows7 #7zip
#avk47
ACCEPTED ANSWER
Score 77
Only possible solution is to use the command-line version (it doesn't work in the GUI [Add to Archive] dialog):
7z.exe a Archive.7z C:\Folder\* -r -x!*.avi -x!*.flac
The "Parameters" input box in the GUI can only be used for compression parameters and cannot be used with standard command line parameters.
ANSWER 2
Score 1
Also
7za -bt -mx9 a archive.7z d:\backups\* -x!*.7z
and
7za -bt -mx9 a archive.7z d:\backups\*.* -x!*.7z
Created different result. The one with *.*
seem to work.