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

learn more… | top users | synonyms (1)

4
votes
1answer
310 views

Can you move/copy a multipart 7z file while it still is compressing?

If you are compressing a 7zip archive and creating split archive, do you need to wait for the entire compression process to complete before you start copying the completed pieces out of the folder? ...
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 ...
5
votes
2answers
2k views

If I compress a file in a .7z archive with password, is it undecryptable without password?

I'm just curious to know whether or not an encrypted file is really save in terms of decrypting if I compress (or just save) a file into a .7z archive with a password. If I use a strong and ...
2
votes
2answers
1k 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: ...
5
votes
3answers
5k views

Do encrypted compression containers like ZIP and 7-Zip compress or encrypt first?

The discussion of "compress and then encrypt, or vice-versa" led me to ponder the following question: many compression containers, like ZIP, 7z, and rar support encrypting these containers. For ...
8
votes
4answers
12k views

7-zip & Windows 7: Make “Extract to <folder>” default on double-click

I'm trying to find a way to make the action you can perform from the context menu, "Extract to <folder_same_as_file_name>" the default action when double-clicking the file instead of simply ...
7
votes
5answers
5k views

Is it safe to store my passwords in an encrypted .7z/.zip by 7-zip?

Here is what I do: Type in all kinds of passwords in an excel file (.xlsx) Zip it with a password by 7-zip AES 256 length > 8 combination of A-Z a-z 0-9 symbols different from ...
0
votes
3answers
4k views

How do I extract .7z files?

Or what do I do with them if not extract them?
6
votes
2answers
6k views

7 zip extract recursively

I have several folders, and within each folder, there are zip files. I want to run a command line order to recursively go through every folder and extract in place every archived file that it finds, ...
2
votes
2answers
6k 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, ...
1
vote
1answer
5k views

How to extract all zip files in subfolders using 7-zip in Windows 7

I have a large Windows 7 folder tree structure containing many zip files. These are single layer zip files (not zip within zip). What 7-zip command can I use to parse through this folder structure, ...
1
vote
1answer
2k views

How to specify relative path in 7-zip command line?

I like 7-zip and I needed it's command line today. I bumped into a problem. Is there a way to specify a path within archive when compressing? For example I have a file at C:\some_dir\my_file.txt. ...
0
votes
0answers
102 views

Comparing zip/compression utilities [duplicate]

Possible Duplicate: Best compression applications for Windows? I've used WinZip, WinRar, and 7zip for packaging and compression. I know the first two are payware, and the last is open ...
2
votes
4answers
1k views

How is it that during extraction of a zip, I get two files of the same name in the same path?

I'm extracting a zip (self-extracting, but that probably doesn't matter) and for a few files I'm getting a dialog asking me if I want to replace a file that was already extracted with a file that's ...
0
votes
1answer
786 views

When extracting multiple self extracting .EXEs with 7-Zip, how do I specify to only overwrite if newer?

I have a bunch of self extracting .EXE files that I'm using 7-Zip to extract. I only want files to be overwritten with newer versions. The 7-Zip extract dialog only gives me the option to overwrite ...
2
votes
3answers
127 views

Where can I find 7z format adoption?

How widespread is this format? What archivers support it? I would like to replace zip files I create with 7z. But I'm afraid some people will have problems opening them. Edit: The main reason I want ...
8
votes
4answers
15k views

add password to existing zip file with 7zip

Is it possible to add a password to an existing zipfile with 7zip without going to all the trouble of unpacking it and re-packing it again?
2
votes
4answers
995 views

How to get 100% identical compressed files, for source files that only differ in creation date?

I want to be able to compress a file losslessly, and if the original file is identical to another user's file, I want both of our compressed files to match, even if the original file dates are ...
4
votes
4answers
25k views

7-Zip CMD: Add current date to archive and include only the last modified folder in archive

I'm trying to create a backup script with 7-Zip. I have everything else done already, but these two issues are still blocking me. Firstly, I want to add a timestamp with a create date like this: ...
1
vote
1answer
767 views

All of my executables are trying to open via 7zip. How can I put them back to normal? [duplicate]

Possible Duplicate: How do you associate the .exe file extension with a program in Windows? I recently booted my computer and all of the executable files have turned into 7zip icons. A ...
1
vote
3answers
906 views

“can't find specified sfx module” when trying to create self extracting file with 7zip

I am trying to create a self extracting file for Windows from Ubuntu 10.04 using 7zip. I tried these commands: 7zr -sfx7z.sfx a output.exe *.txt 7zr -sfx/usr/local/etc/7z.sfx a output.exe *.txt ...
2
votes
2answers
452 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
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 ...
8
votes
2answers
4k views

Make 7-Zip extract an archive directly to a directory

Whenever I extract an archive using 7-Zip, it performs a two step operation. First it extracts the contents of the archives to a temporary folder, then Windows copies the files from the temporary ...
1
vote
2answers
229 views

How to determine the name of a file extracted from a zip archive via a batch script

Background I have a batch file on Windows XP which takes one argument: a zip file name that was created with 7-zip. This file contains a single MySQL backup file inside: backup.sql. I would like to ...
9
votes
3answers
4k views

How to disable the output of 7-Zip?

I use 7-Zip to compress files inside a batch file like this: ...\right_path\7z a output_file_name.zip file_to_be_compressed I got the following output: 7-Zip 4.65 Copyright (c) 1999-2009 Igor ...
3
votes
2answers
3k views

Tesing archive with 7-zip

I recently had an issue with corrupted archive files and read about 7-zip being able to test archive files. Would this be useful for trying to fix or remove corrupted archive files for me? If so, how ...
7
votes
1answer
11k views

7zip Add to Archive: How to exclude certain file types/extensions?

I want to archive a folder but want to exlude all media files. How do I leave out: *.avi *.flac when archiving?
15
votes
1answer
11k views

How to create multipart 7zip file in Linux?

How can I create a multipart 7zip file in Linux using the p7zip console client? Many people referred me to it. My console app is 7-Zip [64] 9.13 beta Copyright (c) 1999-2010 Igor Pavlov ...
3
votes
1answer
1k views

Update File in a subdirectory with 7z commandline

As the title says i want to update the file test.txt which is located in a directory called Test within a Archive called test.zip If I run 7z.exe u test.zip test.txt if puts the file in the root ...
8
votes
3answers
38k views

What settings to use when making 7zip files in order to get maximum compression when compressing PDFs?

What settings to use when making 7zip files in order to get maximum compression? I'm compressing PDF documents containing scanned images. I'm thinking about using LZMA2, but I don't know what to set ...
2
votes
3answers
843 views

How resilient is the .7z file format?

I'm intended to package up quite a lot of data in to archives so that I can store them using an on-line file storage service and to various local backups - the intention being that this will be fairly ...
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 ...
5
votes
3answers
537 views

Need to archive/encrypt 20GB of files

I have 20GB of creative files (flash/photoshop/illustrator) files that i need to ship to someone. Unfortunately, sending thru the internet isn't possible (proxy on both ends, unreliable connections, ...
2
votes
2answers
2k 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 ...
1
vote
4answers
10k views

What is 7-Zip’s command-line argument to create a self extracting archive?

I looked everywhere and couldn't find a straight answer from anyone. If I want to package the contents of C:\Temp into a file called Temp.exe (in 7z format) that is self-extracting, how do I do it ...
10
votes
2answers
2k views

NTFS alternate stream in compressed archive?

Does any of the major compressed archive formats in Windows (e.g. zip, rar, 7z) support NTFS alternate data stream?
10
votes
3answers
7k views

7zip: how to extract to std output?

I have 7z 4.65 and am trying to extract a single file to standard output. The 7z command-line help says -so is the command-line parameter to extract to standard output, but when I try this: ...
7
votes
3answers
30k views

Howto unzip “.xz” file with 7z and lzma

I tried to uncompressed a "*.xz" file with both 7z and lzma. But they gave me such message: $ 7z x myfile.fq.xz 7-Zip 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06 p7zip Version 4.57 ...
11
votes
3answers
16k views

7-Zip compression on multi-core computers

Does 7-Zip take advantage of multiprocessor or multi-core systems when compressing? For example, would there be a close to 16 times speed-up on a 16 core system assuming no disk or memory ...
1
vote
2answers
1k views

How to extract ths sfx script from a file?

I have a packed auto-extract sfx file that runs the script. Is it possible to extract the script code?
15
votes
4answers
31k views

How to make 7-Zip faster

I normally use WinRAR over 7-Zip simply because it's faster and only a little less efficient with compression. I did a few tests on different filetypes and sizes comparing the 7-Zip and WinRAR default ...
5
votes
2answers
5k views

Symbolic links and 7zip

I'm trying to compress a folder into a .7z archive. This folder contains symbolic links to some other stuff outside the folder (both directories and files). Apparently 7zip just archives the link ...
1
vote
2answers
2k views

7zip: Add files to new folder in archive via command line?

I am using 7zip for compressing a bunch of files. The files are in a directory structure, like this: MyDir\File1 MyDir\File2 MyDir\File3 MyDir\MoreFiles\File4 MyDir\MoreFiles\File5 I want to ...
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?
3
votes
2answers
939 views

Context Menu being created if you install 7-Zip or TortoiseSVN in Windows 7 while it works just fine in Windows XP

I've installed 7-Zip in XP and it creates a context-menu in Windows Explorer. But, in Windows 7 it doesn't. I don't know why. I tried it with administrator privileges, but nothing happened.
3
votes
1answer
3k views

Have PowerShell zip the contents of a bunch of folders, individual ZIP file for each folder

I would to have PowerShell zip the contents of a bunch of folders and get an individual ZIP file for each folder. Recently, I asked how to do this with a .bat file and an answer was provided. for /D ...
49
votes
2answers
44k views

7Zip - Command Line : Exclude folder(s) by wildcard pattern?

Any idea how to exclude a wild-carded path(s) from a command-line 7zip command? I'm doing something this: 7z.exe a -t7z archive.7z FolderToArchive\ -mx0 and would like to exclude any \bin\*.* or ...
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 ?
18
votes
4answers
61k views

7-Zip and unzipping from command line

I am looking to use the command line 7-Zip to unzip a folder. I have a file, say example.zip and want to unzip the contents of the file into a folder called example. What are the commands I need to ...