7-Zip is a file compression archiving program

learn more… | top users | synonyms (1)

1
vote
3answers
620 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 ...
0
votes
2answers
534 views

.zip file created on Mac giving error in Windows 7 upon extracting

My friend compressed lots of photos into a zip archive using a MacBook, and uploaded it to Dropbox. I downloaded the zip and when I try to extract using WinRAR it gives this error, but extracts most ...
0
votes
2answers
700 views

Passing a powershell variable as output directory in 7zip

I need to execute something like 7za e $file_path -oC:\Destination inside a powershell script, but substitute destination folder (C:\Destination) with a variable. Some like: 7za e $file_path ...
3
votes
3answers
4k views

What parameters are ok to pass to 7-zip .exe file creation while using the GUI

What parameters are ok to pass to the create archive wizard , in the 7-zip GUI, when you are creating a self extracting archive? The 7-Zip GUI has a field that allows you to type in multiple ...
0
votes
2answers
1k views

How to recursively extract all .tar and .tgz file zipped in a .tgz file using 7zip command line version

I'm using 7zip cmd line version in my app (written in Python on Win 7 box) to extract .tgz files. Although I'm using the -r switch, the .tar and .tgz subdirectories are not extracted. Can someone tell ...
0
votes
1answer
1k views

How to extract a incomplete 7zip file?

I almost(98%) downloaded a file.7z which contains multiple files. The missing part is in the middle of file.7z. So I only get 50% of all contained files when extracted with 7zip. How can I extract it ...
1
vote
1answer
580 views

Detecting image duplicates in 7-Zip archives on Windows?

I have a large image gallery, and a few years later I realized that I get more and more duplicates. :) Basically, my gallery consists of 7-Zip archives containing the image sets. I saw there are some ...
0
votes
0answers
765 views

How to fix 7z.tmp file created in Windows xp?

I created large .7z.tmp file without noticing the .tmp extension. Now I can't open it to salvage the files which were not kept elsewhere. I have seen code by Igore that looks like it fits this problem ...
2
votes
1answer
5k 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 ...
6
votes
2answers
3k 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 ...
1
vote
1answer
51 views

Extract files to a different folder

On a Windows XP machine, I have a zip file located on "c:\temp\mydata\okidata.zip". Using 7-Zip application, I would like to write a batch script and extract the file silently to the following ...
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
0answers
799 views

'No such interface supported' when attempting to compress file through 7zip commandline

When I run the 7zip commandline: > echo foo | 7za a arc.7z -sifoo.txt Everything works as expected, but if I try to do: echo foo | 7za a arc.zip -sifoo.txt I get the following: ...
5
votes
2answers
639 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 ...
0
votes
2answers
4k views

Extract all Zip's in a directory (incl. subfolders) with a .bat file or dos command

I want to extract all .zip's and .rars in a folder and its children The structure is like this: MAIN_FOLDER -A folder - a.zip -a.rar -B folder - b.zip ...
2
votes
2answers
875 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 ...
5
votes
2answers
13k views

7-Zip command line to extract a folder from an archive

I'm using the 7-Zip commandline to extract a ZIP archive called abc.zip which is an archive with a folder called 'zipper' with three text files in it (a.txt, b.txt, and c.txt). My problem is when I ...
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
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
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 ...
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.
0
votes
2answers
4k 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
764 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
745 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
225 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 ...
7
votes
1answer
8k 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 ...
5
votes
2answers
3k 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
350 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
459 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 ...
8
votes
3answers
8k 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
960 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
29k 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. ...
3
votes
2answers
7k 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 ...
1
vote
1answer
5k 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 ...
10
votes
1answer
1k 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 ...
2
votes
3answers
3k 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
1answer
232 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. ...
2
votes
2answers
4k 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
139 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 ...
1
vote
2answers
3k 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
1k 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
1k 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
3
votes
3answers
6k 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
403 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 ...
22
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 ...
1
vote
1answer
1k 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?
24
votes
4answers
9k 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 ...
8
votes
6answers
14k 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
374 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 ...
4
votes
3answers
2k 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 ...