7-Zip is a file compression archiving program

learn more… | top users | synonyms (1)

2
votes
1answer
2k views

Incremental backup with 7zip

I have googled and searched, but can't find the command that 7zip command line utility uses for making incremental backups. So can someone please share the command ? Thanks btw I found this link: ...
2
votes
1answer
6k views

Why does 7-zip.exe return “Access is denied” with these arguments/parameters?

In a batch file: START "7-zip" /D "C:\Program Files\7-Zip\" "7z.exe" a -o <F:> testArchive F:\test Or, alone on the cmd as: 7z.exe a -o <C:\users\user\Desktop> testArc ...
2
votes
2answers
1k views

How can I get a content-listing of a 7z-archive under Linux?

This answer and this one suggest p7zip to work with 7zip-archives under Linux. I can see option for compressing and decompressing. But how can I get a content-listing of an archive, without ...
2
votes
1answer
6k views

Batch the “Extract Here” command

I would like to batch the "Extract Here..." command on a complete folder. Every type of archive should be unzipped into the current folder with the name of the archive file. I have found some BATCH ...
2
votes
1answer
3k views

Extract and overwrite existing files

I am trying to write a batch script to extract files out of an existing zip file, into another folder on my desktop and to have the system not prompt me as to whether I want to overwrite the existing ...
2
votes
2answers
445 views

7zip multiple files into multiple 7z files

I have a bunch of files in a directory and want to 7zip each one into its own 7zip archive So, for example, 1.csv, 2.csv, 3.csv will end up as 1.7z, 2.7z, 3.7z Is this possible with a .bat file in ...
2
votes
1answer
4k views

Identifiying a zip file that is not really a zip file

I have several files that a 3rd party program generated that have a .zip extension, however neither windows nor 7zip can extract it. In 7zip it does show me the file name of the uncompressed file ...
2
votes
1answer
180 views

What does the 7 stand for in 7-Zip (.7z )? [closed]

Is there any significance the number 7 in 7-Zip? I know it corresponds to the formating of the compression method and all of it's implied features, but what does the 7 mean?
2
votes
2answers
949 views

7zip to archive multiple files across many folders

I have a folder called lessons and 34 nested lessons in this folder course\ lesson1\updatedfile.html lesson2\updatedfile.html ... lesson34\updatedfile.html The lessons folder contains just the ...
2
votes
4answers
4k views

How to search the content of archives (7z)?

I am looking for a way to search the content of files inside of 7z archive without having to unpack the archive. I have many 7z archives with code inside them and I'd like to search them. Is there a ...
2
votes
6answers
2k views

Mounting a .7zip file containing .tar

I have downloaded wikipedia in a compressed form. It is a .7z file, which contains a .tar file. In compressed form it is only 14 GB. If I uncompress it, it has 208 GB in it. And I don't have that much ...
2
votes
1answer
44 views

Increase number of items in 7Zip Extract to menu

I was curious on how to expand the number of recent items in 7Zip's "Extract files..." menu to include more recent items in the "Extract to" field. Right now, the "Extract to" field only remembers the ...
2
votes
1answer
540 views

Command line 7Zip to extract file by specified result path

Is it possible to make 7Zip extract one file by name from archive to specified full path (including new filename)? I've found only: 7zip e <archive> -o<resultDirectory> <filemask> ...
2
votes
2answers
197 views

Corrupt PNG files after unzipping

I downloaded 7-zip for Windows to extract .png files from .deb archives, but they turn out corrupted, showing a black background instead. Is there an alternative, working program for unzipping .deb ...
2
votes
1answer
710 views

Is it necessary to test the integrity of an archive if it returns “Everything is okay” when running 7zip via the command line?

Each time I compress a file via the command line 7zip is nice enough to return "Everything is okay". I know that I can test the integrity of an archive if I run the command 7z t archive.zip but is it ...
2
votes
1answer
967 views

Create a 7-Zip including only specified folder and excluding certain extensions. No scanning

I'm trying to create a 7-Zip archive that would compress a certain folder (only specified one!) while excluding a certain file extension. I've come up with this: "PATH-TO-7Z.EXE" a archive.7z ...
2
votes
1answer
1k views

Batch Extract with 7Zip

I receive a single zip folder with multiple zip folders inside it. Each individual zip folder contains one file. Is there a way to extract all of them in one step?
2
votes
1answer
2k views

7-Zip command line option to include only one kind of file recursively

I want to add any txt file under a given path using 7-Zip. Looking at the help I tried this: 7za a -ir!*.txt bla.7z c:\initial\path This ended up including every single file, txt or not. Looking ...
2
votes
1answer
363 views

How can I compress multiple files into three files per archive with 7-Zip?

I have 100 files that look like this: 001.txt 002.txt 003.txt 004.txt ..... 100.txt I want to compress them like this: 001.txt 002.txt ----> archive01.7z 003.txt --------- 004.txt 005.txt ...
2
votes
2answers
2k views

Setting WinRAR to exclude files with the exact filename I specify from being extracted from an archive

How can I configure WinRAR to exclude files with the exact filenames: thumbs.db or .DS_Store (ignoring case) from being extracted from an archive (all directory levels within an archive)? Files with ...
2
votes
2answers
5k views

7-ZIP can't open pictures in Windows default photo viewer (Windows 7)

I updated 7-ZIP to the latest version 9.2, but when I try to open e.g. jpg from zip archive I always get a message "Windows Photo Viewer can't open this picture because either this picture is deleted, ...
2
votes
1answer
1k views

Mass file extraction

System info: aggitan@moneque:~$ uname -a Linux moneque 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux aggitan@moneque:~$ 7z 7-Zip 9.04 beta Copyright (c) 1999-2009 ...
2
votes
2answers
91 views

What other archive formats save Date Created and Date Accessed?

7-Zip on Windows will save the Date Created and Date Accessed when compressing a .zip file, however it does not do this for its native .7z format. Any Unix-based formats are ineligible. Are there any ...
2
votes
2answers
949 views

Creating .xz with 7-Zip, claims insufficient memory (not true)

In WinXP 32bit with a Core i5 (dual core) and 4GB RAM, I'm trying to create an .xz archive from a 266MB log file using 7-Zip (GUI) on the "ultra" compression level (method: LZMA2, dictionary size: ...
2
votes
2answers
432 views

How to get a specified file extracted from a JAR file using a batch file?

I have a test.jar file on windows and I want to use 7-zip to get a certain file from outside of the archive, such as the "com/app/test/FILE.class" file. I only have access to java, 7-zip, and the ...
2
votes
2answers
1k views

Command line alternative to rar.exe with complex switches

I am searching for a command line alternative to rar.exe from winrar which supports the multitude of options that rar.exe does, preferably one that is open source. Specifically, I am searching for a ...
2
votes
0answers
31 views

Is it possible to make 7-Zip also extract all the other files when double clicking an exe?

With Winrar, when I double click an exe file in an archive, it also extracts all the other files in the archive, which is really handy for when the program depends on the other included files. I want ...
2
votes
1answer
260 views

7zip - self-extracting executables require admin privileges and trigger compatibility warning

When I create self-extracting archive executables for Windows with 7zip, the .EXEs trigger UAC on Windows7. And frequently after unzipping, I get this: I'm using commandline like: 7z a -sfx7z.sfx ...
2
votes
2answers
309 views

What does the number after 7-zip's -m switch mean?

7-zip has a command line switch to set the compression method, -m followed by a number, e.g. -m0=LZMA. What does the number (0 in the example) mean? Different numbers produce slightly different ...
2
votes
0answers
133 views

Difference between lzip, 7z and zipx [closed]

I would like to know what is the difference between the algorithms used in these three compression schemes. I found that all three of them are based on LZMA. But I would like to know what makes them ...
2
votes
1answer
555 views

Automatically extract and rename extracted file according to archive's name

I have a bunch of zip files in a folder. Each zip file has a file in it named exp_1.txt. I would like to unzip each zip file and rename the extracted file from each zip file to what the zip file was ...
2
votes
0answers
439 views

Can you fix a corrupted 7z file?

So, I had a cd, with a scratch on it. The cd contained a 7z file. When I try to copy the file it gave me an error, so I used corrupted disk repair fixer and I managed to open the 7z, and view the ...
2
votes
1answer
2k views

How do I add files from a directory to a .zip-File using the 7zip command line?

I am using the 7zip command line to zip-up files. How can I add all files and subdirectorys from a folder to a zip file (.jar archive file)? I used: 7zip.exe a -t7z file.zip C:\folder Thank you.
2
votes
0answers
604 views

Command line switching

I have read through some suggestions but I am just not technical enough to get this I think. I am a CAD designer and each file has 5 files associated with it. I have 3 sets of 5 files, and each set ...
2
votes
1answer
2k views

How to add files to specified folder in archive with 7zip command line

I have folders and files on my disk C:\builds\main.exe D:\components\a\testa.exe D:\components\b\testb.exe D:\components\c\testc.exe D:\dependencies\abc.dll Can I create an archive with 7z command ...
2
votes
1answer
420 views

How to give the 7z file the name of the current directory?

How to compress a directory with 7zip and give the archive file the name of the current directory? I use the following command line: "C:\Program Files\7-Zip\7z.exe" a -mx9 archive.7z -mhe=on ...
2
votes
2answers
3k views

file permission in zip/7z/rar?

I want to package my application for linux, I use zip/tar.gz/7z/rar to do the compress in Windows. Because I do the compress in Windows, so when I extract the package in Linux, the file permission ...
1
vote
3answers
8k views

How to compress a JPG image File

I am trying to send an email with an image attachment. But the image size is 40MB and the attachment size can only be 25MB. How can I compress the size of the image so that I can send it via Email?. I ...
1
vote
4answers
3k views

Why should I prefer 7zip over WinZip in Windows environment? [closed]

I know Winzip is not free and 7-zip is free . Other than this is there any reason why I should use 7ZIP over Winzip for compression ? I am using Windows 7 .
1
vote
2answers
1k views

Can I use 7Zip under Linux? [duplicate]

Possible Duplicate: 7-zip for linux 7Zip is a good compression-format. Can I produce such files or decompress them under Linux? I don't want to use emulation like Wine.
1
vote
1answer
552 views

Why a “Not enough space on disk” error on 7zip even with sufficient space?

I am using 7-zip to split a large folder (>200 GB) into chunks of 4.7GB so that I can burn them onto a DVD. But for now, I am storing these chunks in an external hard disk which has ~300GB of space. ...
1
vote
2answers
1k views

Synchronizing files using 7zip and the CLI

In the command line, 7zip has the command 'a' to "Add files to archive". But I want to sync the files instead. This is one of the main options in the GUI, but the CLI has disregarded it for some ...
1
vote
3answers
702 views

Zip Utilities with Queue Functionality [closed]

Are there any programs similar to 7zip or PeaZip that support a "queue" functionality? I have multiple large files to unzip, and I would like to add them all to one single queue and have them ...
1
vote
1answer
3k views

How to extract 7z zip and have correct directory strucuture?

XXXhostXXX:temp XXXuserXXX$ ls -a dir1/ . .. a.txt b.txt XXXhostXXX:temp XXXuserXXX$ pwd /Users/XXXuserXXX/temp XXXhostXXX:temp XXXuserXXX$ 7z a -t7z dir1 dir1 7-Zip [64] 9.20 Copyright (c) ...
1
vote
2answers
1k views

How to 7za file without specify archive name

Say have an executable target.exe, is there any way to compress this file into target.zip without specify archive name(output name) by using 7zip command line?
1
vote
1answer
1k views

unencrypt 7zip files in ubuntu

I have an encrypted 7zip file, but i cannot open it, it appears that p7zip does not support encryption yet. Do you know a program that can open it ?
1
vote
2answers
1k views

selfextracting archive with 7zip via cmd.exe

I downloaded 7za.exe and did this to compress a file.exe: 7za.rar a -mx9 archive file.exe Now I want to create a selfextracting archive (.exe), so I tried this: 7za.rar a -mx9 -sfx archive ...
1
vote
3answers
136 views

Does 7zip compression level affect decompression speed?

I have a directory that I would like to password protect and encrypt. I am using PeaZip to do this using 7zip compression. I'd like to use the 7z like a directory and hard drive space is not a ...
1
vote
1answer
496 views

7z getting an event not found error in command line

I am using 7zip on my centos machine and ziping a file via command line. This is my syntax 7za a -t7z backup.7z public_html\ -mx0 -xr!restricted_area What i'm expecting with this syntax is to ...
1
vote
2answers
1k views

Windows 7 Explorer Preview Pane for zip files

I was wondering if there is a possibility to add .zip file to the explorer preview pane (Windows 7 64 Bit). For example if a folder contains a .zip file i would like to see the content of the .zip ...