7-Zip is a file compression archiving program
31
votes
5answers
1k views
Why is a 7zipped file larger than the raw file? [duplicate]
Possible Duplicate:
Why doesn't ZIP Compression compress anything?
I tried 7zipping an .exe file but it actually became larger.
Is this the expected result?
30
votes
1answer
25k 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 ...
27
votes
6answers
30k views
How do I use 7-zip to backup files, but exclude some directories
I would like to use 7-zip to backup a directory, but I would like it to exclude all directories named ".svn" (anywhere in the source tree). Does anybody know if this is possible and in that case how?
21
votes
6answers
2k views
How can I evaluate the best choice of archive format for compressing files?
In general, I've observed the following:
Linux-y files or tools use bzip2 or gzip for distributing archives
Windows-y files or tools use ZIP for distributing archives
Many people use 7-Zip for ...
20
votes
3answers
20k views
How can I unzip a .tar.gz in one step (using 7-Zip)?
I am using 7-Zip on Windows XP and whenever I download a .tar.gz file it takes me two steps to completely extract the file(s).
I right-click on the example.tar.gz file and choose 7-Zip --> Extract ...
18
votes
5answers
10k views
13
votes
4answers
40k 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 ...
10
votes
4answers
5k views
What is the reason for 7-zip / WinRAR to first unzip files to “temp” and then move them to destination?
What is the reason for 7-zip / WinRAR to first unzip files to "temp" and then move them to destination?
I do not see any advantage against just directly unzipping to destination. It is really ...
10
votes
5answers
4k views
Is there a way of replacing those ghastly 7-Zip default icons?
I like 7-Zip a lot - it's my compression utility of choice on Vista and XP. I have just one problem with it: it's butt ugly. I'm really kind of reluctant to install it on my fresh Windows 7 system ...
9
votes
7answers
5k views
Why doesn't ZIP Compression compress anything?
A 398MB directory was only compressed to 393MB using 7Z and Normal ZIP compression. Is this normal? If so, why do people continue to use ZIP on Windows?
9
votes
7answers
2k views
7-zip for linux
7-zip for linux, does such a thing exist?
I mean actually 7-zip or a port, not another compression tool or command
9
votes
1answer
796 views
How to do “legacy” ZIP compression with 7zip?
We have an old application that requires zip files to be "legacy" format. I would really love to get rid of the adware ridden WinZip and use 7zip. However, I don't know which compression options and ...
8
votes
2answers
12k views
Is it possible to execute a file after extraction from a 7-Zip self-extracting archive (SFX) archive?
I'm try to make a compressed deploy-able application.
Currently I'm taking a set of files that I've published from my IDE (Visual Studio 2008 - WPF published application) and compressing ...
8
votes
3answers
3k views
Extracting msi files using Linux
Related: How to extract files from MSI package?
To extract the contents of a MSI installer using Linux, I can either use msiexec with wine or use 7zip.
However, the latter does not preserve ...
7
votes
3answers
8k views
Best Secure Encryption for Zip Files via Linux
I want to use highly secure encryption for zipped files via Linux/Ubuntu using a command line terminal, what is the best command line tool to get this job done?
zip -e -P PASSWORD file1 file2 file3 ...
7
votes
4answers
13k 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 ...
7
votes
5answers
3k 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 ...
7
votes
3answers
4k views
How to do “Files to store without compression” in 7-zip?
Is there any way to selectively prevent certain file types from compression in 7-zip, like in WinRAR?
I'm trying to compress a huge folder (many gigabytes), and I don't want the already-compressed ...
6
votes
5answers
8k views
How do I uncompress vmlinuz to vmlinux?
I have already tried uncompress, gzip, and all other solutions that come up as google results and these have not worked for me.
To get just the image search for the GZ signature - 1f 8b 08 00.
...
6
votes
8answers
13k views
How to make 7-zip do a whole bunch of folders
I got a bunch of pictures that I had to crop into 800x600 pixels. That was easily done, but now I have to upload them so the family can see them all.
Thing is, this is 500MB in pictures. I decided to ...
6
votes
3answers
254 views
How do you register the 7-Zip GUI program with the .7z extension in Windows?
For whatever reason, the 64-bit Windows Installer doesn't seem to register the .7z file extension with the 7-Zip GUI (or with anything, as far as I can tell).
How do I go about doing it. A simple ...
6
votes
3answers
10k 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 ...
6
votes
3answers
4k 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:
...
6
votes
1answer
4k 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 ...
6
votes
2answers
923 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?
6
votes
2answers
7k views
Different compression methods in 7zip: Which is best suited for what task?
So there are different compression methods in 7zip. Which method is best suited for what task?
For example: One difference between LZMA and LZMA2 is I can choose all my cpu cores, whereas in LZMA 2 ...
5
votes
3answers
3k 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 ...
5
votes
3answers
383 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, ...
5
votes
2answers
1k 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 ...
5
votes
2answers
394 views
Can the “copying” step from 7zip be sped up?
I use 7Zip to extract compressed files.
I am currently working with a compressed 7GB RAR file that expands to 55.6GB.
I understand the time it takes to unzip the file, but then I have to sit and ...
5
votes
5answers
9k views
How do I reassemble a zip file that has been emailed in multiple parts?
I received 3 emails each containing part of a zip file. The extensions end in .z00, .z01 and .z02. (Emailed as such to get around the typical 10Mb attachment limit per email.)
I have put all 3 files ...
5
votes
2answers
533 views
How to merge .001, .002 … files from multiple drives?
Is there a way to merge multiple part files (.0001, .0002, etc.) from multiple drives?
I have three part files of 5 GB each, but I have only 20 GB on the hard drive. I would need another 10 GB to ...
4
votes
2answers
1k 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 ...
4
votes
3answers
24k 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 ...
4
votes
2answers
4k 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, ...
4
votes
3answers
881 views
Scheduled backup of certain directories in Windows 7
I'm using Windows 7 and I need to schedule a daily backup that does the following:
The schedule needs to run daily at 7pm
The backup needs to generate a compressed archive of selected backup ...
4
votes
6answers
5k views
7zip doesn't ask me for password for a zip I encrypted while double-clicking it
I just tried to encrypt a folder with 7zip by command line choosing a password but when double-clicking on the zip file, it shows me the files list without asking any password.
Any other alternative ...
4
votes
1answer
86 views
how to “preserve internal directory structure” when unzipping on windows?
I'm tring to build boost, in instructions I've read
When you extract the library from its zip file, you must preserve its internal directory structure (for example by using the -d option when ...
4
votes
1answer
2k 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 ...
4
votes
1answer
5k 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?
4
votes
2answers
23k 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 ...
4
votes
3answers
14k 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: ...
4
votes
2answers
1k views
How can I control the order of files in a ZIP archive?
There are times when it is necessary for the files in a ZIP archive to be in a specific order (for example, I'm currently creating EPUBs, which require that the first entry in the ZIP be the mimetype ...
4
votes
1answer
325 views
Define root folder with 7zip
I am using 7zip with this command
tools/7zip/7z.exe a publish/Site.zip publish/Site/*
When I do this, 7zip creates a zip file with a publish folder then a Site folder and then my files.
I'd like ...
4
votes
2answers
10k views
What are the best options to use when compressing files using 7 Zip?
I often have to gather log files and upload them to a central server (Owned by another company). The central server has a size limit of the file, so I am trying to create the smallest file possible ...
4
votes
1answer
631 views
Files inside archives can't be opened inside 7zip
I open the archive inside 7zip, then double-click a file inside the archive to open it with the associated application, and I get "File not found" errors in the app (for example opening a image in ...
4
votes
2answers
17k views
7-Zip command line: Extract silently/quietly [duplicate]
Possible Duplicate:
How to disable the output of 7-Zip?
I want to use 7z.exe from a command prompt to silently/quietly extract an archive. I do not want to use third-party scripts or APIs. ...
4
votes
1answer
232 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?
...
4
votes
1answer
416 views
Strip path segment while extracting using 7zip?
Is there a way to extract a 7z archive that contains all it's files within a directory without creating this directory in the file system but still keeping the sub-directory structure of the archive ...
3
votes
3answers
197 views
Would a 7z archive and a copy of the MBR be a complete disk backup?
Consider a disk with a single NTFS C: partition and Windows installed on it.
If I were to make a 7z archive of the partition, and grab the MBR via some tool (then store it in a file), would this be a ...