Compression and archive format that stores one or more files into a single file, usually with a .zip file extension.

learn more… | top users | synonyms

1
vote
0answers
104 views

repeat command until process start or timeout unix

Is there anyway to check the number of file in a directory, if the number of files is correct, say 5 files, zip the files with zip -r total.zip. If the number of files is wrong, wait 3 seconds, and ...
12
votes
3answers
41k views

Does Windows 7 have unzip at the command line installed by default?

There is a zip/unzip option in the context menu so is it accessible from the command line?
2
votes
2answers
822 views

Create multiple zip files that are not dependent on each other?

I want to compress a folder into multiple zip files of 50MB each but don't want them to be dependent on each other. When I use Winzip and use the split feature it creates one zip file and the others ...
0
votes
1answer
30 views

Browse archived website

I have html/webpage files stored in a folder locally on my machine. I can view this content just fine using any browser. However, long term, I would prefer to have the contents stored inside of some ...
3
votes
3answers
4k views

unzip how to trim top directories

I have a zip archive. The unzip -l myarchive.zip command gives this listing: top/subtop/files/1.txt top/subtop/files2/2.txt etc The root folders are top/subtop for all files. How to extract those ...
1
vote
1answer
1k views

Creating a zip file with a timestamp

I have been trying to create a script which compresses a directory with a timestamp and move it to another location on the same server, but I cant seem to get TESTDATE to display on the zip file, ...
9
votes
6answers
17k views

How can I achieve the best, standard ZIP compression?

I don't care how long it takes to compress, all I want to achieve is two things: The absolute best possible compression ratio Compatibility with standard readers, such as Windows and WinZip So ...
0
votes
1answer
670 views

How to add “extract here” or “p7zip” menu item? (Gnome3, Nemo)

I'm using Fedora 20 with Gnome3 and Nemo. I installed p7zip but I don't see a p7zip or "extract here" item when right-clicking on a .zip What can I do?
0
votes
0answers
31 views

While compressing the folder many other zip files creating during the process

I seen a strange thing never seen before while compressing the folder into the zip. When I start zipping my folder there are many zip files showing automatically during the process. Like say the ...
1
vote
2answers
97 views

ZSH browse content of zip file

Is there any way or plugin for zsh where I can browse content of zip files in place instead of unzipping zip file and than making zip again? I want to achieve same behavior as in Midnight Commander ...
1
vote
1answer
277 views

How do i unzip files from a nested folder?

Say i have the following .zip file: ZipFile.zip /zipfolder/ this.file that.file theother.file When i try: unzip ~/path/to/my/ZipFile.zip -d ~/path/to/my/destination/ ...
1
vote
1answer
110 views

What are the default programs to open docx, PDF and ZIP files on OS X?

I'm writing an article about DOCX, PDF and ZIP extensions. But first, I need to know the programs which are used to open these extension as default (without any third-party applications). I don't ...
0
votes
1answer
240 views

Using command-line to pack files individually into .zip format while keeping directory structure

I'm trying to create a cmd script that recursively traverses a directory and zip each file individually. This I have done here: for /R %%b IN (*.*) do ( "C:\Program Files\WinRAR\WinRAR.exe" a ...
15
votes
4answers
28k views

What UnRar utilities are available for Mac OS X?

I have been using UnRarX ( http://www.unrarx.com/ ) and it's free and works well, but often times I will download a rar file in the browser and click on it in the recent downloads lists which will ...
1
vote
2answers
109 views

Search zipped *and* non-zipped files in one hit

I have a folder with a mix of zipped and unzipped log files which i want to search. I can search the non-zipped with grep -r "my-search-string" /path/to/folder and search the zipped files with ...
1
vote
0answers
246 views

Compress files on Windows Server 2003

Duplicate Questions How to compress files with batch file? Using compact.exe didn't do what I wanted. I'd like to have an archive file created so that the files can be retrieved. This is ...
1
vote
0answers
366 views

Download zip/tar Github repository with .git metadata?

I need to download zip/tar Git repositories from Github and get not just the source but also the .git directory. I'm aware I could use git clone, but this is for an tool that runs on systems that may ...
1
vote
0answers
91 views

Re-zip archives with the compression level “No Compression”

I am running Windows 8.1 Enterprise x64. I have a folder containing hundreds of ZIP archives (aka Compressed folders). I need the fastest way to convert them (preferably, in-place) to vaild ZIP ...
0
votes
1answer
305 views

.zip file got corrupted while scp through 2 linux servers

A .zip file was copied by scp command from a Linux server to another Linux server and the zip file got corrupted and showed the following message. "Unzipping the list file failed. Unexpected end of ...
0
votes
2answers
108 views

Does creating a tar file need more space?

HTTP File Server or HFS is a small utility which allows one to share files with others by creating http links for every file Now when I want to download multiple files, the software creates a "tar" ...
12
votes
7answers
12k 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 ...
2
votes
1answer
21 views

Search .zip files for sizes

I have a directory with many .zip files. I wish to search through them to match an uncompressed file size (I am trying to find which .zip my file originated in, and the name's been changed). IDEALLY, ...
1
vote
0answers
81 views

How to hide error dialog box in 7zip?

I am using "C:\Program Files\7-Zip\7zG.exe" -y x -pmypassword "D:\Myfile.rar" -o"D:\Extracted Files\" for extracting a file encrypted with password. Now if 'mypassword' is not the correct password ...
7
votes
2answers
3k views

Analyzing properties of a ZIP file

I have a ZIP file, and I want to determine how it was compressed (the specific algorithm, properties used to apply that algorithm, etc.). What software can do this for me?
-1
votes
1answer
107 views

How can I add a context menu item in windows 7 that could backup the selected files as zip?

I need to add a context menu item, which will open WinRAR with some args/flags and pass the filenames of those which are selected to it too. For instance, softwares like WinRAR accepts command-line ...
0
votes
1answer
100 views

Unable to extract .zip file of Win8 theme

I downloaded some themes for Windows 8. But when I try to open it, I failed to open the .zip file. Even I was unable to extract the contents. While tried to extract, it was showing error like : The ...
9
votes
1answer
270 views

How did this ZIP file print to my command line when I extracted it?

I downloaded a font from www.fontspace.com today. It came in a basic .zip file and so I moved it into its own new folder to extract it (I'm tired of extracting things just to find that they were ...
-1
votes
2answers
161 views

zip subtitle files recursively on linux

I got 2 main folders Peliculas and Series, as you may guess Peliculas has movies on it (some of them on their own folder, the ones that have more than 1 file) and the folder Series has tv shows. What ...
0
votes
0answers
104 views

Unzip speed on Mac versus Linux

I have a zip file that contains 200mb of data, compressed to an 80mb .ZIP file. Basically it's a website with thousands of files, including code and images, no video. The file was zipped on a linux ...
2
votes
0answers
183 views

Can't extract file with non-ascii name from zip archive

I am using Linux Slackware 14, downloaded a zip archive with a file, containing Russian characters in it's name. Now when I try to unzip it in console, it prints an error and doesn't unzip: bash-4.2$ ...
0
votes
0answers
252 views

OSX : Find all zip and rar in a selected folder then unzip and unrar

I am in the process of cleaning a huge library of mangas (mostly -but not only- image files ). Each manga has a main folder containing the different volumes, sometimes in .zip, sometimes in .rar. ...
10
votes
1answer
3k views

How to stop 7-Zip from automatically downloading and opening a zip file in Chrome?

I have checked the "Ask where to save each file before downloading" option in Chrome settings yet after installing 7-Zip, every time I click on a link which targets a .zip file: chrome doesn't fire ...
1
vote
1answer
895 views

rar command line for creating .zip files

Is there a way to use the rar command line to create .zip files?
0
votes
0answers
1k views

is it possible to unzip z01,z02… without .zip?

I have multiple z01,z02, but missing a zip file. Is it still possible to unzip? If not, is there any repair tool that you recommend?
0
votes
1answer
78 views

On OSX, how are zip archives made through Terminal excluding specific files?

On Mac, a lot of excess files are added in a zip archive that can be undesirable on other platforms, mainly .DS_Store files and the main _MACOSX folder. The OSX platform has a zip utility built in, ...
1
vote
2answers
4k views

Zip all files in a directory, but don't include the top directory in the archive

Can't quite figure out how to do this right. I have a folder with a website in /var/www I want to create a zip file with all of it, which when I decompress it does not include the top directory. In ...
0
votes
1answer
275 views

Why can't you drag/drop files from inside an archive to mounted devices in Windows Explorer?

Why is it when you have an archive open (for example using Winrar) that you can't drag and drop it's contents onto a mounted device in Windows Explorer such as the SD card in cellphones and tablets ...
3
votes
1answer
142 views

Is there a way to compress files at different compression levels inside a single 7zip file? [duplicate]

Some files are compressed using their own compression scheme and some aren't. If I try Max compression on an already compressed file, I'll get 1%-2% better compression at most. The amount of time ...
2
votes
1answer
386 views

Remove sub directories / sub folder from zip + rar files

I have a bunch of .zip and .rar files. Many of these files contain subfolders in the archive. I want to remove all the folders from the zip files but keep the other content. e.g. original.zip - ...
18
votes
1answer
12k views

Remove single file from zip archive on Linux

I have a zip archive (created automatically in a script with -j -r flags) and I would like to remove a single file from it. I tried as documented. zip -d "picture_43_9.jpg" gallery.zip but I get ...
1
vote
1answer
13k views

How can I extract a password-protected file a zip archive?

I have a zip archive with several files. Zip can password protect individual files (not just the whole archive) and I have such a protection on one file. How can I extract this file if I no longer ...
1
vote
2answers
914 views

Zipping Epub: Mimetype file should contain only the string “application/epub+zip”

I followed this tutorial to create an epub file. The mimetype file only contains application/epub+zip and should not be compressed. However, the zip commands that were recommended to achieve the ...
3
votes
1answer
2k views

Can I disable this Windows (XP) Security Warning?

I recently reformatted my hard drive and reinstalled Windows XP (I know I'll have to take the plunge and commit to Win8 "real soon, now", but I'm just not quite ready for the upheaval yet! :) I used ...
0
votes
1answer
347 views

Filename encoding broken after unzip on windows

I zipped a directory on my linux server. Many files in the directory have german umlauts in their filename. The filesystem is ext3 and the system locale is set to de_DE.utf8. I used the following ...
0
votes
0answers
20 views

Command line to extract WinRar .rar to auto-named folder [duplicate]

I am working on streamlining a lot of the processes that I have to do associated with my work (web developer). I am downloading a lot of .zip and .rar files at the moment, and I'd like to create a ...
0
votes
1answer
43 views

syntax to archiving individual folders

can somebody tweak/edit this batch command so that it will go to the root directory of each folder before it archive it. for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a "%%X.zip" "%%X\" ...
6
votes
5answers
21k views

How to combine / merge zip files?

For the last several months I have copied several data folders to zip files at weekly intervals. Now I'd like to combine those zip files into one zip file, because most of the contents of the ...
0
votes
1answer
40 views

Adding the date/time (DD/MM/YY HH:MM) information dynamically at the end of ZIP file

I want to add the current date/time (DD/MM/YY HH:MM) information dynamically at the end of ZIP file when backing daily via IBM cognos export. Then How can I export CSV formatted them using script? ...
-1
votes
3answers
621 views

Unix zip command [duplicate]

Possible Duplicate: Zipping folders and their contents into a .zip file in Linux I need to zip a file on Unix machine. File is about 200MB. What is the best compression tool? and provide me ...
1
vote
1answer
176 views

Is it possible to write an app that ignores the zip archive password?

I am not sure how password protected archives work but is it the programs enforcing the protection or is it the way the format works where if it's password protected, there is no way to extract the ...