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

learn more… | top users | synonyms (1)

0
votes
0answers
539 views

7z.exe (How to Add or Delete Files inside a SubFolder in *.jar file?)

I am totally new using 7za.exe! I heard that 7za.exe also called as 7zip was being used to replace or add files inside a jar file extesion! I am trying to replace or file inside 3 sub folders in a jar ...
2
votes
2answers
2k views

How to zip multiple folders in 7zip?

I have a folder, lets say, MAIN. Inside this folder, there are many folders(say f1,f2,f2...) which has subfolders and files in them. Now I need to zip these folders(f1,f2,f3...) and their contents ...
12
votes
3answers
4k 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 ...
2
votes
1answer
683 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 ...
1
vote
1answer
2k views

Create an archieve with current date and time in file name using 7z command line

Today I lost my whole Far Cry 3 save game suddenly. So now I want to backup it's save game folder automatically on a certain period of time using windows task scheduling. I want to include date and ...
0
votes
1answer
528 views

How do I zip a folder with 7-zip but not subfolders of that folder?

For instance, if I wanted to zip everything in My Documents, but not subfolders in My Documents, and I also did not know the name of each subfolder.
1
vote
3answers
7k views

Extracting a Zip File with Japanese Filenames?

I'm trying to extract files from a zip file on Windows 7. The filenames are in Japanese, but they just look like éñé▀é─é±é─ü[é╓é┐éσèGòùé▄é╟é⌐üÖâ}âMâJâZâbâg20110423. They include a 3D model file and ...
1
vote
2answers
2k 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 ...
16
votes
3answers
16k views

How can I install 7zip so I can run it from Terminal on OS X

I would like to be able to run 7zip from the command line on Mac. Does anyone have instructions on how to set this up?
4
votes
4answers
13k views

7-zip commandline How To archive with subdirectories? Or, how to KEEP folder structure while archiving

I have a bunch of files like this: C:\G\G1\35antique-shop.mp3 C:\G\G2\35antique-shop.mp3 C:\G\G1\09saguri.mp3 C:\G\G2\09saguri.mp3 edit1: I just wanna know how to KEEP folder structure while ...
1
vote
1answer
272 views

How to use 7z with variables inside a linux script?

For example: 7za e -y $file_name -o$dest_directory This works fine, when run directly from command line, but within the script it gives this error: could not find archive (No archive by that ...
2
votes
1answer
3k 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: ...
4
votes
1answer
2k views

7-zip files on Linux with AES-256 encryption

I have a requirement to zip up some files in Linux with 7zip using AES-256 encryption. The end user will be opening in Windows with 7zip. I'm using the following command: 7za a myfile.zip test.txt ...
0
votes
1answer
387 views

7-zip not in Explorer++ context menu

I use both 7-zip and Explorer++ quite a bit, but I can't seem to get Explorer++ to show the context menu items for 7-zip, like the windows explorer does? Am I missing something? In windows explorer ...
1
vote
0answers
405 views

7zip command line - extract all files in a folder except *.exe

I am using the command: 7z.exe x -y -o<dir> <archive dir> * -aoa -r to extract all archives that are located in the archive directory. I am running into a problem where exe files that ...
3
votes
2answers
4k views

7zip command line options for more information when synchronizing

In the 7zip command line options, is there some argument that can make 7z output the files ignored/deleted from the archive too? (files ignored by the option -uq0) Example call: "C:\Program ...
1
vote
1answer
351 views

7-zip alternative for mac os (that allows editing within the zip)

I've been using 7-zip in Windows, and looking for its alternative for Mac OS. Various tools I tried able to open/archive/extract, but I can't update it within the tool itself, like dragging and drop ...
1
vote
1answer
61 views

Let 7Zip install in same directory without subdirectory

When using 7Zip to extract a zip file, it always creates a subdirectory I want to avoid to create. The zip file: C:\Test.zip The content files in zip file: `ReadMe.txt` The Commandline: x ...
1
vote
0answers
62 views

7zip - How to overwrite a existing file? [duplicate]

Possible Duplicate: How can I overwrite an existing file in 7zip? I'm trying this: 7za.exe a "C:\Disc.7z" "C:\test" -v20000000b -m0=BCJ -bd But if I already have created the file ...
0
votes
5answers
4k views

How can I overwrite an existing file in 7zip?

I'm trying this: 7za.exe a "C:\Disc.7z" "C:\test" -v20000000b -m0=BCJ -bd But if I already have created the file C:\Disc.7z then 7zip doesn't compress anything and sends me this output: System ...
1
vote
4answers
4k 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 .
0
votes
1answer
2k views

Unpack NSIS executable

I am trying to decompress a NSIS executable. With the GUI version of 7zip I am able to do this and the exe is listed as: Type = Nsis Method = LZMA:25 Solid = + With the command line version 7za I ...
0
votes
2answers
1k views

Is SecureZip compatible with any other ZIP programs?

I put some files into an encrypted archive with Secure Zip (was using a computer at another organization) and emailed them to some people. None of them have Secure Zip (nor do I on any of my own ...
1
vote
2answers
2k 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 ...
0
votes
1answer
516 views

How to rename and extract all file?

Looking for a .bat to rename and extract all. The folder is d:\EJ\%dd%-%mm%-%yyyy%\ (multiple files) K02699_ej.zip K02702_ej.zip K02703_ej.zip K02704_ej.zip K02705_ej.zip Rename to K02699.zip ...
4
votes
2answers
5k views

How to write error status for command line 7-zip in variable (or, instead, in text file)

I use 7-zip (in my batch files) to pack some directory and send archive by email. When I use some file in this directory at the same time the batch file is running (I start the batch files with Task ...
0
votes
2answers
349 views

Split zip archive containing folders now contains “corrupt” zip archive

I zipped and split two folders with 7zip, so I got File.zip.001 to File.zip.010. I renamed them to Foo.zip.001 to Foo.zip.010, and if I open them now, they only contain a "Foo.zip" file. Upon ...
3
votes
2answers
9k views

7-zip cannot open file on double click

I have installed 7-Zip on my machine and associated it with serveral archive file types. When double clicking an archive (so far I have tried .zip, .7z and .bz2 files), a message box pops up telling ...
0
votes
1answer
602 views

pfSense iso.gz doesn't seem to be a compressed iso image

I downloaded the latest pfSense ISO (pfSense-2.0.1-RELEASE-i386.iso.gz) and had 7zip extract it, but it just shows me the disk contents. I cannot extract the actual ISO file to burn it with the boot ...
0
votes
1answer
377 views

Compressing bigger than 1GB files seems not to work

I tried my best to compress some videos, about 1.4GB each. I tried to compress them separately, "tarring" (using tar) them and then compress, everything. I'm on OS X Lion and I did try the ...
0
votes
2answers
766 views

How to extract and erase the original compressed file on Windows 7?

I wonder whether there is an extractor tool that as well as extract the file contents, erase the original compressed file. Thank you.
2
votes
0answers
540 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 ...
0
votes
1answer
98 views

7Zip add string to zip name

I have a 7zip command line process that zips by date and its works well. The command creates a zip file with date IE 20121019.zip. However Id like to add a string to the file name. for example ...
1
vote
2answers
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.
1
vote
1answer
339 views

7-Zip: Create a zip file from a subdirectory, with the same name as the subdirectory itself

I have a unique situation where I need the following folder structure (Windows) X:\LOGS\PRIMARY\YEARMONTHDAY e.g., X:\LOGS\HS\20121010 Folders are created every morning. Essentially I'd like to ...
3
votes
1answer
220 views

Cygwin creating multiple links to files inside tar?

I'm trying to create a .tar file in Cygwin: find . > tmpfilelist tar -cf tmp.tar -T tmpfilelist but when I open tmp.tar in Windows with 7-Zip there are four instances of each file: Name ...
0
votes
0answers
343 views

p7zip installs, but doesn't install? (7za: command not found)

I've uploaded it to /usr/local and used ./install.sh with ssh. I get the following: - installing /usr/local/man/man1/7z.1 - installing /usr/local/man/man1/7za.1 - installing /usr/local/man/man1/7zr.1 ...
2
votes
1answer
4k 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
213 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
0answers
655 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
2answers
556 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 ...
4
votes
2answers
720 views

Extract archive here, autodetect subfolder

I use 7-Zip under Windows 7 to extract all kind of archives. The ever-running problem is that there is not a single way to handle subfolders. Some people create their archives like this (let's call ...
0
votes
0answers
236 views

Is it possible to recover partial compressed files?

Of the most popular compression methods (7z, RAR, Zip, GZip) is there any of them that allows to retrieve the uncompressed data from a partial file? Imagine there is only one compressed file, and it ...
1
vote
1answer
282 views

Using 7-Zip from command line - name zip file with directory name

I know this has to be so easy, but I do not know how to do it. Any help would be appreciated. I want to name zip files with the directory name. Say I have a directory "Zip1" with files "Doc1.txt" ...
4
votes
1answer
2k views

7-Zip many files from different folders?

I would like to add a large number of files with different names from different folders to a single 7-Zip archive using 7za.exe. This should be simple, but it turned out to be a major pain. I created ...
2
votes
3answers
2k views

Why does a zip file appear larger than the source file especially when it is text?

I have a text file that is 19 bytes in size and having compressed the file using zip and 7zip, it appears to be larger. I had a read of the question on Why is a 7zipped file larger than the raw file? ...
2
votes
1answer
849 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 ...
0
votes
1answer
3k views

Incorrect parameter error when using 7-zip from the command line in Windows

I am running the following command: 7z.exe a -t7z -m9=LZMA2 test.7z test.txt However, I get this error: System error:The parameter is incorrect. The error only occurs if I use the -m9=LZMA2 or ...
34
votes
5answers
3k 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?
3
votes
2answers
3k views

Is it a requirement to concatenate multiple 7zip files in Linux before being able to uncompress them?

I generally use 7zip when on Windows and uncompressing multiple 7zip files. I have come across several articles noting that I need to concatenate multiple 7zip files to a single zip archive if I wish ...