7-zip is an open source file compression and archiving program. 7-zip supports the 7z archive format as well as most standard archive/compression formats, and can unpack a wide range of file types. It pioneered the LZMA compression algorithm, which focuses on a strong compression ratio. 7-zip ...
0
votes
0answers
41 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 testArchive F:\test
Or, alone on the cmd as:
7z.exe a -o testArc C:users\user\desktop\test
returns "Access is denied". I ...
0
votes
1answer
27 views
Encoding problems with a “.tar.7z” archive
I have an archive that contains files/folders with weird encoding.
The list can be found here and you can see the encoded characters.
The question is : How can I uncompress theses files to a ...
2
votes
1answer
51 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
19 views
Exctract 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 ...
0
votes
1answer
32 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) ...
0
votes
2answers
113 views
extracting 7zip exe file
Extracting the 7z file,
what is the best way to extract the 7zip file, currently 7zip file in format of .exec,
now need to convert this into normal file,
what is the best way to extract this ...
1
vote
0answers
57 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:
...
3
votes
1answer
112 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
153 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
80 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 ...
3
votes
2answers
111 views
7zip command line to extract folder from archive
I'm using the 7zip 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,c.txt).
My problem is when I extract ...
2
votes
1answer
76 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 ...
0
votes
1answer
57 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 ...
1
vote
2answers
37 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 ...
0
votes
2answers
62 views
Can I use 7Zip under Linux? [closed]
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
286 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
0answers
123 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
0answers
155 views
Windows Batch File that zips files from ftp location? [closed]
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 ...
1
vote
1answer
85 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 ...
2
votes
2answers
132 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
105 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
103 views
Hash of 7zip 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 svn export of a subversion repository to a temp folder
Zips the contents of the temp folder into a 7z archive
Compares the md5 hash of ...
6
votes
3answers
177 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
58 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 ...
1
vote
2answers
1k views
7zip command line: Extract silently/quietly [closed]
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. ...
1
vote
2answers
498 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
187 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 ...
9
votes
1answer
242 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 ...
0
votes
2answers
213 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
78 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.
...
0
votes
1answer
91 views
Extract a certain file from an archive with 7zip from the command line
If I have an archive,e.g. some.zip that contains one or more files. How can I extract with 7zip only one file(I know the name of the file) from the command line in Windows?
1
vote
0answers
25 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 ...
0
votes
0answers
23 views
Zipping files which contain multilanguage characters in filename using the 7za tool
I am using the 7za tool to zip some files which contain multi-language characters in the filename.
But after doing compression these filenames are rendered as junk letters.
Is there any way we can ...
1
vote
2answers
403 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
216 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
1answer
52 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
1
vote
2answers
147 views
How do I create seperate zip files for each selecterd file/dir in 7zip?
This is the internal zip packer from Total Commander:
However I want to use my 7zip packer. When I selecet 5 files, I get 5 seperate .zip archives for each selected file. How do I do that in 7zip?
0
votes
0answers
155 views
7-Zip - When using a list-file, is it possible to fail for any missing files?
When invoking 7-Zip from the command line with a list file
(from the help file)
List file
You can supply one or more filenames or wildcards for
special list files (files containing ...
2
votes
1answer
111 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
...
19
votes
6answers
863 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 ...
0
votes
1answer
430 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?
6
votes
4answers
593 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 ...
3
votes
3answers
992 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
105 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 ...
3
votes
3answers
150 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 ...
0
votes
1answer
158 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
156 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 ...
0
votes
2answers
399 views
Create 7zip SFX executable (updated)
I'm playing around with 7zip to create an sfx executable. I followed the documentation but I wasn't able to get any close, I'm using the 7zip 32 bit and the 7zip extra 32 bit
Here where I'm stuck ...
2
votes
2answers
727 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 spool out the individual ...
2
votes
2answers
420 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 ...