7-Zip is an open source file compression and archiving application

learn more… | top users | synonyms (1)

0
votes
1answer
24 views

True Crypt Alternative For Encrypting Drives

I have Windows 7 Pro and as such, bitlocker won't work for me. I have some sensitive information which I have locked with an AES-256 key in a 7zip folder, but I would like to encrypt my entire drive ...
0
votes
0answers
11 views

7zip is creating solid .zip files. Cannot add/remove/overwrite to .zip files ad-hoc

I'm using 7zip as an archive creation tool. .7z files may be created as solid or nonsolid files. .zip files are supposed to be inherently nonsolid. I have ~5GB of hierarchal folder/file structure ...
0
votes
0answers
19 views

How do I fix 7-Zip's default localization for its shell integration?

7-Zip installed itself in my native language. I managed to change the language of the 7-Zip program via its UI, but its shell integration is still in my native language. Is there any way I can ...
0
votes
0answers
26 views

How does “Word Size” affect compression?

In 7 Zip when adding a folder to an archive there is the option to change the Word Size. How does this word size affect compression, in particular the final size of the zip? I noticed that changing ...
1
vote
4answers
89 views

Can 7zip remove empty directories after extracting an archive?

I have a 7zip archive that has several files/folders that I want to extract to a specific place. I've simplified the example to make it minimal, complete, and verifiable. -I don't want to maintain ...
0
votes
0answers
8 views

7zip - Encrypting and compressing each file in a folder while maintaining directory structure [duplicate]

Say I have a directory structure like this: - main folder - folder 1 - file 1.txt - folder 2 - folder 3 - file 2.txt - file 3.png - file 4.txt - file 5.jpg I'd like to ...
0
votes
0answers
23 views

List zip file's contents using 7zip command line with non-verbose machine-friendly output

Is there a way, in windows, to use 7z.exe's list command such that the copyright heading, file information, and column headers are skipped and you're left with just a terse machine-readable list of ...
2
votes
1answer
28 views

How, exactly, is ! meant to be used with 7-zip CLI parameters?

The -i and -x parameters of the 7-zip CLI interpet ! in a special way. Or at least it looks that way from their documentation. That documentation includes the following: Syntax ...
3
votes
0answers
72 views

Extracting an archive with millions of files with 7z is very slow

I have an archive with ~2 millions files, each of them being a few KB when uncompressed. The extraction is extremely slow (1 or 2 files per second). I see that 7z uses 100% of one CPU core. Is it ...
1
vote
0answers
30 views

7-Zip: Empty tar file created

Using 7-Zip portable i created a tar file containing a folder which also contains numerous files and folders (200mb+). When i open the tar file it is empty, but the size of the tar file is exactly ...
0
votes
0answers
20 views

How to completely password protect a zip file [duplicate]

I have 7-Zip and Total Commander installed - both can create ZIP files with password protection, but it's applied only to files inside, opening of the ZIP file itself happens actualy without the ...
0
votes
2answers
116 views

How can I extract multiple 7zip archives to folders with the same names in Linux?

I have about 300 7zip archives, each with several files in them, and no directory structure inside. I need to extract all these archives to folders that match the respective archive. Example: ...
2
votes
1answer
29 views

Command line 7zip exlude

I have tried this many times but not yet got it. How to use 7zip to zip directory without one directory inside other. Like: I have a folder /home/files/ and inside that, directory1/ and ...
0
votes
1answer
39 views

7zip tries to compress files and folder outside of the path

I use the command line of 7zip, 7za, to compress a folder, on Windows web server 2008 R2. 7za.exe a -tzip -r %nome_file% "C:\inetpub" I expect it to compress everything inside the folder "inetpub, ...
0
votes
0answers
100 views

7zip: “There are data after end of archive”

When testing an archive file, I got this error: What does this mean, and does that implied that some parts of the archive file cannot be extracted? I use 7z 9.22 beta on Windows 7 SP1 x64 ...
1
vote
3answers
249 views

Windows 10 changing .zip file association

I have 7-zip installed and it hasn't changed the default file associations. I've changed the associations for .rar and .7z, but I can't find a way to change .zip. I looked in Default Programs\Set ...
1
vote
1answer
35 views

How to hide the Contents of a 7-Zip SFX Archive?

I've just Created a 7-Zip SFX Archive containing my Test Results. But whenever I open the File.sfx.exe with 7-Zip from the Context menu as Open Archive, I directly get the SFX Contents. I want my ...
0
votes
0answers
19 views

Archive differently named folders with 7zip in batch file

I want to write a batch file that will use 7zip to archive folders with certain names. The names will be different each time the batch file is run because the dates change. YYYY-MM-DD will represent ...
0
votes
1answer
82 views

Extracting .7z file with Unrar.exe and command line?

With WinRar.exe 5.00 we can extract a .7z file. (with right click on a file and extract it) but with Unrar.exe 5.00 and the following command line C:\Program Files\WinRAR>unrar x ...
-1
votes
1answer
37 views

Create multiple zip files

I have a bunch of files that I would like to zip, I need a script to recursively run through a directory and find all files with name test*.txt as an example. That is the easy part, so I have used ...
0
votes
1answer
30 views

Get a listing of a 7zip file on a remote HTTP server

There's a server out there on the internet that hosts terabytes of data encapsulated in numerous 7zip (.7z) archives. Some, but not all, of this data is interesting to me. I only know which data is ...
1
vote
1answer
33 views

7z archive include directories matching regex

I would like to archive directories that match a regular-expression pattern (/[0-9]{4}/). Does 7z support this? This doesn't find matching directories: PS> 7z a -t7z ...
1
vote
1answer
58 views

7-Zip command line - do not extract certain file types

How do I extract all the files in a 7-Zip .7z archive EXCEPT certain file types, using the 7-Zip command line? Example: backup.7z contains files of type: .xls .xlsx .doc .docx .pdf .txt .png .gif ...
0
votes
0answers
86 views

sfx 7zip Module change extract path

I have been attempting to change the default extract location of the sfx module in 7zip. Below is my config file: ;!@Install@!UTF-8! InstallPath="C:\\TEST" RunProgram="test.bat" ;!@InstallEnd@! ...
0
votes
0answers
49 views

7z cannot open output file, running as root

I am running a computer on Debian. I am trying to extract a .wim onto a usb, but some of the files are not copying with an "Cannot open file" error. Some of the files are copying without an error. 7z ...
0
votes
1answer
22 views

Batch zipping multiple folders content

If I want to 7z or winrar multiple folders content only. How or what would be the best method? Example: D:\PS1 PSX PLAYSTATION USA REDUMP EVERY GAME 1 OF 4[!!!!!!.COM]_Action Man - Operation Extreme ...
2
votes
1answer
61 views

/dev/fd0 equivalent on windows. (Writing directly to tar floppy)

I am currently using a system I cannot change that writes tar files to a floppy disk. I need to read/write the same type of disk on a windows machine. The command used to create the disk in Linux ...
1
vote
0answers
109 views

How to untar file with UTF-8 special characters in Windows

I want extract a TAR file with special characters UTF-8 and when open it with WinRAR and PeaZip show filename like mark question and when extract it with WinRAR and 7-Zip file name change to ...
1
vote
1answer
52 views

How do you gzip multiple files using 7Zip from a context menu shortcut?

I have a bunch of files I'd like to individually zip up with a single action using 7Zip. 1) select all files 2) right click > 7-Zip > GZip 3) each file get's archived as .gz or or .zip ...
1
vote
1answer
36 views

7zip : Set archive's LastWriteTime as old as the content

On windows, with 7za.exe v9.38, how can I set the archive's LastWriteTime (or CreationTime) same as the content? For example : I have a "toto.txt" file, created and last written on 01/01/15. 7za.exe ...
0
votes
0answers
43 views

Unable to extract prebuilt virtualbox with Windows 8

I went to this site, http://dev.modern.ie/tools/vms/windows/ to download prebuilt Virtual Box, with IE 10, Windows 8. The instructions say extract with 7-zip. When I try to extract, it asks for ...
1
vote
0answers
75 views

Incremental backups with 7-zip

I am trying to set up an incremental backup with 7-zip after finding zip might not suit my needs fully/easily. My data is located in /media/Data/Work. For some reason it is not liking my code. I've ...
0
votes
1answer
128 views

7zip: compress and copy to destination folder

I am trying to do the following: command line compress a file from C:\TestFolder\file.txt (source location) and on the same command or bat file put that compressed file in (a destination folder) ...
0
votes
1answer
116 views

7za.exe: Add files to subfolder in archive

7za a -t7z -mmt -mx9 -y Include.7z .\Include\* The above command adds the files to the 7z archive, but what if I want them in a custom subfolder? For example Files\ inside .7z
1
vote
1answer
255 views

Batch file to create .7z archive for each file (in folder/subfolder) to a new destination (folder/subfolder structure)

I use a batch file to backup files to 7-Zip archives. It creates an archive for each file separately in the folder where the original file is. Works with sub folders. FOR /r %%i IN (*.*) DO ( ...
3
votes
0answers
120 views

Possible bug in 7zip - empty folders extract as empty files

I have a directory structure as follows: Main | |--empty_folder | |--folder | |--example.txt I'm zipping it using the .NET ZipFile.CreateFromDirectory method (but I doubt this has anything to ...
0
votes
1answer
251 views

What happened to .gzip option in 7-zip?

I am not sure if this is just a coincident or not but I have recently upgraded my OS to Win 10. I noticed only now (after the upgrade) that the .gzip archive format is not available in 7-zip ...
0
votes
0answers
37 views

How to change context menu option for 7zip?

I work a lot with .gzip format and I am wondering if there is a way to change the default "Add to" format in the context from .zip to .gzip.
1
vote
0answers
68 views

7zip cli kills itself. Why?

I have 1 TB huge directory on debian/ext3. I need to 7zip it and then transfer it to another computer windows/ntfs. I use the following command, but in the end it says Killed. Any idea whats wrong? ...
1
vote
0answers
42 views

Uncompress recursively using 7-Zip from command line

I'm attempting to uncompress several .gz files using 7-Zip from the command line. My files are in directories like so: Desktop/copyto/1/ file1.gz file2.gz Desktop/copyto/2/ file1.gz ...
0
votes
1answer
20 views

Want new directory while extracting archive file using 7zip

I Have Some files and Directories in archive directory Archive File_1 File_2 Directory_1 Directory_2 I want to create zip file of archive directory. But I do not want name archive zip Instead ...
2
votes
1answer
484 views

Compress large CSV FIle? (500MB)

I have a CSV-File which is 500MB of size. I am searching for a way to compress is to it smallest possible size. I actually received the file back then in a ZIP-Folder which was only about 50MB of ...
1
vote
2answers
84 views

How to pass multiple files to zip in a single command using 7 zip?

I have one folder which will contain below mentioned files: destiny.txt destiny1.txt destiny2.txt destiny3.txt destiny4.txt destiny5.txt destiny6.txt destiny7.txt Out of which destiny1.txt, ...
1
vote
2answers
83 views

7z command line = 7z extract to

I have a dmg "winzipmacedition40.dmg" I'm trying to extract dmg from windows 7 I want to know how to "extract to" method via command line Result 1 Using Right Click file > 7z > Extract to ...
6
votes
1answer
142 views

7z: What *does* the -r flag do?

The man page for 7z simply says Do not use "-r" because this flag does not do what you think. The only documentation I can find basically restates the same thing. -r[-|0] Recurse ...
1
vote
0answers
63 views

7zip only asks me for a password once when I open an encrypted file

I archived some files on my laptop and encrypted them using 7zip and the first time I tried to open a file, it asks for the password, but after that it never asks for a password... is there a way to ...
0
votes
0answers
46 views

Dry run test the final file size of a rar or 7z file via terminal?

Is there a way of seeing the final file size (so I can determine how much space saving) of a zip file, preferably a rar or 7z file. I'm on a mac so ideally I'd like to do it via the Terminal. I've ...
2
votes
2answers
93 views

How to compress multiple files with similar names?

So I've got some 20 000 files that I want to compress and group by following logic: compress every file that have identical characters up to ( also include files that have no ( So the files are ...
1
vote
2answers
28 views

What 7-zip command line syntax can I use to display errors only when creating a zip?

I do not want all the file names being read to scroll in the command window, but would like only problem files to appear. Better yet, I would like to direct error output to a file. My only alternative ...
1
vote
1answer
47 views

Is there a tool similar to IEpxress or 7Zip that can pass command line arguments to a dependency [closed]

I recently discovered IExpress and would like to use it to package arbitrary scripts in any language with their respective interpreters/libraries/dependencies. IExpress and 7zip can offer all of that ...