Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to exclude files when compressing using 7zip GUI parameters

Tags:

7zip

I am trying to compress a folder with 7zip and I am using the 7zip GUI, but I want to exclude some files that I have already defined in an excludelist.txt file. I am trying to put this in the Parameters option of the GUI:

-x@"D:\Projects Backup\excludelist.lst"

But I am getting this error:

The parameter is incorrect

7zip GUIError Adding Parameters

like image 808
ddieppa Avatar asked Jun 11 '14 13:06

ddieppa


People also ask

What is parameters in 7zip?

From the help of the 7-Zip File Manager, quoted: Parameters. Allows you to specify parameters for compression.

How do I compress multiple files with 7zip?

Once you have installed 7zip, you can split a file into 2GB chunks very simply. First right click on the file you would like to split, and select "7-Zip -> Add To Archive". This will compress and create as many 2GB files as are needed to contain all the data in the large file.

What does 7-Zip compress and email do?

7-Zip is a free and open-source file archiver for compressing and uncompressing files. If you need to save some disk space or make your files more portable, this software can compress your files into an archive with a . 7z extension.


1 Answers

The "Parameters" input in the GUI is misleading: it can only contain compression parameters (i.e., whatever comes after the -m command line switch), not command line arguments. There is no way to exclude files using the GUI yet, but the main dev thinks about it...

Your only solution is to use the command line version or another 7-zip GUI.

like image 194
Tey' Avatar answered Sep 19 '22 14:09

Tey'