I try to use 7zip for the first time and, I would like to zip all the PDF files who are into a folder.
My syntax who generate a syntax error #7 :
C:\Program Files\7za409b>7za a -zip pdfs.zip Orange/*.pdf
NB: The Orange folder is in the same folder than the .exe
Thanks for your help !
7za a -tzip pdfs.zip Orange\*.pdf
OK. But I don't understood why in the documentation, we found :
the -zip option don't work ?
Specifies the type of archive. It can be: zip, 7z, rar, cab, gzip, bzip2, tar or other. 7z format is default
In my documentation found:
-t (set Type of archive) switch
Specifies the type of archive.
Specifies the type of archive. It can be: zip, 7z, rar, cab, gzip, bzip2, tar or other. 7z format is default.
Note: gzip or bzip2 formats support only one file per archive. So if you need to compress more than one file to these formats, create tar archive before and then compress it with selected format.
7z a -tzip archive.zip *.txt
adds all *.txt files from current directory to zip archive archive.zip.
OK, I haven't read the doc correctly!
I'm french, and my english is not perfect ;)