Anyone here familiar with 7zip command line arguments for include/exclude files?
I can get it to read a file for including with llike:
7Za a -tzip -r "D:\_backup\files.zip" @NE.txt
and list the files I want it to zip inside the NE.txt like:
D:\NewEdition\*.xml
D:\NewEdition\template.txt
D:\NewEdition\_nw*.txt
D:\NewEdition\layout.pbs
D:\NewEdition\colortable.txt
and it zips only the files names listed.
and exclude files using:
7Za a -tzip -r "D:\_backup\files.zip" -xr!@NE.txt
and using the same list..it zips everything BUT the filenames listed.
what I need is a way to do both..sort of.
I need to zip all of the above, except plan*.xml's (which is covered with *.xml so it zipped them too).
I cannot list all the xmls to include, as that can be 100's of random filenames. So I need to 'zip all the files in the list, and XML's except ones named plan*.xml'
Anyone have any tips?
-We don't control what happens to us in life, but we control how we respond to what happens in life.
-Hard times create strong men, strong men create good times, good times create weak men, and weak men create hard times. -G. Michael Hopf
Disclaimer: Post made by me are of my own creation. A delusional mind relayed in text form.