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

learn more… | top users | synonyms (1)

2
votes
1answer
3k 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
2answers
2k 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 ...
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.
2
votes
2answers
7k views

Installing 7zip in CentOS - succeeds; but can't use it

I am trying to install 7zip to CentOS yum install p7zip installed it. And now running this returns Package p7zip-9.20.1-2.el5.x86_64 already installed and latest version But [root@root ...
0
votes
2answers
918 views

I have most of the password for my 7z archive. How can I crack it?

I know most of my password. I think I've only got some capitalization and/or some character inversions in certain spots. What is the fastest way to try all combinations? If that still doesn't work ...
0
votes
1answer
889 views

7ZIP - Command Line Compression | Can Never Keep it Simple

I've been Googleing for a few hours on how to just compress a file inside a directory and I can't find anything. I found how to just compress a folder in general. Now I wish to know how I can compress ...
0
votes
0answers
229 views

Windows Batch File that zips files from ftp location? [duplicate]

Possible Duplicate: What kind of window's batch file allows zipping of ftp files? Basically I want to keep backups of my xbmc files on my xbox, that is on the home network. I already ...
22
votes
1answer
19k views

Create an archive from a directory without the directory name being added to the archive

I have the following folder structure root folder1 folder2 folder3 7za.exe I want to run the 7-zip command line tool to zip up all the files in folder1 to a zip file called ...
8
votes
2answers
7k views

How do I use 7-Zip for Windows to create .tar.gz archives?

How can I use the 7-Zip CLI (7za.exe) on Windows to create .tgz archives, as I use tar zcvf archive.tgz source_files on Linux?
2
votes
1answer
385 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 ...
1
vote
3answers
645 views

Hash of a 7-Zip archive of a SVN export changes even when the files don't change. Is this by design?

I'm writing a PowerShell script that does the following. Does an SVN export of a Subversion repository to a temporary folder Zips the contents of the temp folder into a 7-Zip archive Compares the ...
11
votes
3answers
15k 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 ...
4
votes
1answer
2k 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 ...
6
votes
2answers
44k 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. ...
7
votes
2answers
10k views

7zip: How to exclude files (not file types) using an exclude list file?

I know you can create a text file containing a list of files and then tell 7zip to reference this file so that it can exclude them from the archive, but I cannot find the syntax for that. Can someone ...
2
votes
1answer
10k 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 ...
11
votes
1answer
2k 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 ...
3
votes
4answers
7k views

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

I am looking for a way to search the content of files inside of a 7-Zip archive (.7z) without having to unpack the archive. I have many 7-Zip archives with code inside them and I'd like to search ...
3
votes
1answer
263 views

Is there a way to make 7zip temporarly uncompress the whole archive when double-clicking on an exe?

In WinRAR, one feature which I like is the fact that you can set it to uncompress the whole archive in a temporary place, if you double-click on an .exe file inside the archive opened in WinRAR. ...
6
votes
2answers
8k views

Extract a certain file from an archive with 7-Zip from the command line

If I have an archive, for example, some.zip that contains one or more files, how can I extract only one file (I know the name of the file) with 7-Zip from the command line in Windows?
1
vote
0answers
173 views

How to make a split archive for DVD storage where single files are extracted from the set without needing all the DVD's

I'm getting ready to 7z/rar/whatever 1125 files (About 300GB) into a split archive with each piece being 4,700,372,992 bytes. The idea is that I can put each split onto a DVD+R that will fill the DVD ...
4
votes
3answers
9k views

What is encryption loss when unzipping?

When I drag files from a .ZIP file my friend sent me, it barks: Do you want to copy this folder without encryption?` A problem is preventing that folder from being encrypted. What's ...
1
vote
2answers
5k views

How do I create seperate 7z files from each selected directory with 7zip command line?

FOR %i IN (*.*) DO 7z.exe a "%~ni.7z" "%i" Does the job for each selected file. However I've got tons of directories (with files inside them obviously) I need to pack. Say I have d:\dir1, d:\dir2, ...
0
votes
2answers
2k views

Compress big files with 7-zip, and uncompress with WIndows XP WITHOUT 7-zip

I'm using the very latest release of 7-zip to compress some files from the command line on my Windows XP machine. All the small archives work fine... but the bigger ones... always give "invalid or ...
0
votes
2answers
2k views

How do I convert my existing zip files to 7z with 7-zip comand line?

I'd like to convert a couple thousand zip files to 7z, with maximum compression and multithreading enabled. Also in another place. Like c:\temp\file.zip to f:\converted\file.7z
7
votes
3answers
18k views

How do I create separate zip files for each selected file/directory in 7zip?

This is the internal zip packer from Total Commander: However I want to use my 7zip packer. When I select 5 files, I get 5 separate .zip archives for each selected file. How do I do that in 7zip?
2
votes
1answer
483 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 ...
24
votes
6answers
3k 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 ...
2
votes
2answers
2k views

Convert .tar.gz/.tar.bz2 to .7z in batch?

How do I convert .tar.gz and .tar.bz2 files to .7z files using the command line?
34
votes
4answers
17k 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 ...
15
votes
6answers
23k 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. ...
1
vote
2answers
535 views

Is there any way to get portable apps to register in the Explorer context menu?

I am using more and more portable apps which make switching from computer to computer much easier. However for programs such as 7zip which makes sense really only if it is a choice in the context ...
5
votes
3answers
5k 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 ...
2
votes
1answer
1k views

How can I updated an encrypted 7zip archive without losing encryption?

I created a 7zip archive with AES encryption. I included the option to encrypt the filenames. When I updated the file however I am no longer prompted for a password to open the file and can view the ...
1
vote
1answer
1k views

Include only *.cs files using the 7zip GUI

I highlighted a few folders in 7zip and wanted to add only the *.cs files from those folders into this archive. I can't seem to figure out what I would type in the "parameters" box to make this ...
3
votes
3answers
6k views

Create 7-Zip SFX executable

I'm playing around with 7-Zip to create a self-extracting archive (SFX) executable. I followed the documentation, but I wasn't able to get any close. I'm using the 7-Zip 32 bit and the 7-Zip extra 32 ...
5
votes
2answers
4k views

Redirect 7-Zip's command-line output to /dev/null on Windows when extracting a .7z file

I have a command such as "C:\Program Files\7-zip\7z.exe" x foo.7z -y which will extract (with full paths) to the current directory. What it does that I don't want, though, is to spool out the ...
16
votes
3answers
51k 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
691 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 ...
1
vote
2answers
1k views

Unzip a specific subfolder in an archive with the 7-Zip command line version

I want to unzip an ZIP archive, but just a subfolder in it. Example structure archive.zip: -rootfolder --subfolder ---subsubfolder I just want to unzip subsubfolder with 7-Zip (preferably). How ...
4
votes
1answer
330 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: ...
6
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
14k 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
6answers
6k 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
7k 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, ...