Questions about manipulating .zip files or zip archiving utilities.

learn more… | top users | synonyms

1
vote
1answer
12k views

Unpack a war file to a destination folder

I know how to simply unzip a zip file to destination folder, just type the following command line in terminal: unzip file.zip -d /folder/destination Obviously -d option points out the destination ...
0
votes
1answer
63 views

Best container/compressor for nesting

Is there a format, such as 7zip, zip, tar.gz etc that that 'glues' pre-compressed folders together quickly? At the moment, it appears that archiving pre-compressed files/folders has very little ...
1
vote
1answer
620 views

Compressing big files into several files ubuntu

I am wondering if we on Ubuntu have an option to compress an directory of for instance 2GB size into several files that are restricted to the size of say 100 MB? I know on Microsoft Windows you can do ...
5
votes
3answers
12k views

Download ZIP file with curl command

How can I download ZIP file with curl command? I tried curl -sO, but error occurred. I want to download zip file from address: http://github.com/ziyaddin/xampp/archive/master.zip but can't. What must ...
0
votes
1answer
240 views

How to install a Virgo FTP on ubuntu 12.10 on Session fallback desktop

I am using Ubuntu 12.10 with session fallback desktop and really very much confused about how to install a software on Ubuntu. Please clarify few issue. I want to install virgoFTP . I download it from ...
3
votes
2answers
7k views

Create zip of folder with same name

I want to create zip of a folder from command-line. I can do something like zip -r folder.zip folder. I want to give the zipped folder same name as the original folder. I can simulate this by writing ...
5
votes
1answer
3k views

How can I create zip file with the date in its name?

In the command-line, how can I create a zip file from a directory, whose name would be the current date? I can use zip -r name dir, but how give it the date for a name?
4
votes
1answer
1k views

How to zip contents recursively under the directory foo/*.*?

zip -r /tmp/foo/bar.zip /tmp/foo/* > /dev/null 2>&1 and the achieve is in this structure /tmp /foo file1 file2 dir1/ file3 dir/2 ...
-1
votes
1answer
118 views

RhythmBox only plays downloaded music when the Archive Manager is open

Ubuntu 12.04. I have downloaded some music (They're in a ZIP format, by the way), and they play fine, and the NotifyOSD comes up, as usual. But when I play the music, the Archive Manager HAS to stay ...
18
votes
2answers
4k views

How do I determine the uncompressed size of a zip file without decompressing it?

I have a large zip file and a limited amount of disk space. Can I determine how much space the expanded contents will take without decompressing the file?
3
votes
3answers
4k views

Using Terminal to open a file within a jar file?

How can I open and see within a file within a jar file from within Terminal? I can use less to print out all the files within the jar file, but how can I open these files?
0
votes
1answer
4k views

Cloning a repository?

I need to clone a repository. The command is: git clone https://github.com/androportal/linux-sunxi.git If I do it this way it takes a long time to install/download. Now I opened this link and I got ...
4
votes
2answers
5k views

split zip file and join them in windows

I searched before posting the question, but couldn't find anything related. All I need is some help in splitting a zip file in ubuntu as .z01, .z02 etc... so that I would join them in windows back. ...
3
votes
1answer
6k views

How do I make the directories in a zip file relative to the target directory instead of my working directory

I'm calling the zip command from a script where I cannot change directory. I need to make a zip file of the stuff in data/kit123/ from the directory which data resides in, but I want the contents of ...
0
votes
3answers
2k views

Windows vista shows ISO file as ZIP! [closed]

When I download the ISO file, my system shows the file as a zip file and not as an ISO. I have tried to burn the file as an image to a DVD but my laptop will not bootup from the CD. Setting in the ...
3
votes
1answer
725 views

Is it possible to zip changed files into a separate archive with only the changed files

If I zip a folder, make changes to the normal unzipped files and then zip that folder again, is it possible to have only those changed files in a new separate archive? So first zip command would be: ...
17
votes
3answers
11k views

How to list content of all .zip files in a folder and grep for a specific file?

I have 348 zip files and I want to find a file that is in one of the zip files, unzip -l doesn't work with wild cards? How can I list content of all .zip files and grep through the merged list of ...
3
votes
1answer
884 views

Script for Creating Multiple ZIP archives from Multiple Folders

I want to be able to right click multiple folders inside of a directory in nautilus, and be able to create separate zip archives from those folders in that same directory. If possible it would also be ...
1
vote
1answer
107 views

Bunch of zip binaries and a pckg_list

I got from one guy a directory with bunch of zip files (/binary/*), and a pckg_list file, with a structure like, for example, that: Package : TIZEN-IDE Version : 1.0.0 OS : windows Build-host-os : ...
1
vote
5answers
2k views

Differentiate between apk and jar files

Is there any way to tell these two files apart? They're both identified as zip files using the command file, so is there a way to tell them apart? (Disregarding extension of course). NOTE: Trying to ...
1
vote
3answers
904 views

Move all files in several folders

So I unzipped a file with 1000+ folders, is there a way to "flatten" these folders? As in, grab all the contents from every folder and dump them into another directory.
2
votes
2answers
2k views

How do I batch rename a specific file inside multiple zip archives via the command line?

I have about 200+ shareware files in zip format that each contain a file called "FILE_ID.DIZ". I need to know how to rename each instance to lowercase "file_id.diz" without doing it manually - I've ...
5
votes
5answers
14k views

What is a Linux equivalent to pkzip or winzip or the GUI version of 7zip?

GUI-based applications like PKZIP and winzip (and the GUI version of 7z/7zip) let us browse around our directories and create a compressed file that contains lots of different directories and files, ...
2
votes
1answer
485 views

Unable to create .zip files or modify .xpi with file roller in Oneiric

I'm trying to modify a Firefox plugin in .xpi format using file roller. When I try to resave the file after making modifications, I get an error: 7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov ...
0
votes
1answer
721 views

7-zip error:Extracting META-INF/AIR/hash-Unsupported Method

i get this error when extracting an .air file of botanicula: this is the only error when extracting with 7-Zip on Xubuntu 11.04 7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30 p7zip ...
2
votes
1answer
179 views

How to transfer music from zip archive to Banshee

Whenever I open a 2gb zip file using Banshee, it plays fine until I close the archive, at which point it ceases to play. Why won't it play the songs when the archive is closed, just like it does for ...
1
vote
3answers
8k views

How to install Chromium .zip file?

I have the zip file but I don't know to install it from a .zip file. Here are the contents of the extracted chrome-linux.zip file:
4
votes
1answer
8k views

How to unzip files into the current directory?

I am trying to write a bash script that will automatically unzip mp3 downloads and move them into my ~/music folder. My problem is that when I use the unzip command, it creates it's own folder ...
3
votes
1answer
1k views

Add password to an existing zip file

is there a way to add a password to an existing .zip file in Ubuntu?
11
votes
2answers
5k views

How to mount a zip file as a file system?

Can I mount a zip (or other non-solid (so that accessing a file wouldn't decompress the whole archive) compressed archive format file) as a file system in Ubuntu?
6
votes
2answers
9k views

Extracting zip file fails giving error need PK compat. v5.1

I have a password protected zip file which was created in Windows. When I am trying to extract the same file under Ubuntu I get the error need PK compat. v5.1 (can do v4.6). Any idea how to proceed?
1
vote
2answers
404 views

How do I create an encrypted archive containing specific files?

How do I create a password protected archive containing all the files with the extension conf from /etc?
4
votes
1answer
685 views

How to compare zip files' contents?

Is there any tool to compare zips by content? maybe some krusader addon or command-line magic?
68
votes
6answers
205k views

How can I create a zip archive of a whole directory via terminal without hidden files?

I have a project with lots of hidden folders / files in it. I want to create a zip-archive of it, but in the archive shouldn't be any hidden folders / files. If files in a hidden folder are not ...
3
votes
3answers
10k views

Is there a way “extract and delete zip file” in a single command?

Is there a way (preferrable via GUI, but may be via command line) to extract a zip file and delete the zip after extracted, all in a single command? (I remember I saw someone doing something like ...
2
votes
2answers
1k views

How do I partially suppress the command-line output of zip?

The Background: I have a python script that generates a bunch of images (png format, minimum of several hundred), runs ffmpeg to turn them into a short video, and then puts all of the images into a ...
1
vote
0answers
177 views

Ubuntu One can't sync a 481mb zip file [closed]

Been trying for days to sync a 481mb zip file. Wont sync, get the arrows and exclamation point emblem. Smaller zip files sync FINE, easily. Large files have synced for me in the past. WTF is going ...
8
votes
2answers
4k views

Is it possible to copy a file into a zip archive?

I want to copy a file into a ZIP or JAR archive. Is that possible? If so how?
43
votes
4answers
40k views

How do I zip up a folder but exclude the .git subfolder

I'm trying to create a zip file from a folder and I'd like to exclude the .git sub-folder from the resulting zip file. I have gone to the parent folder of the one I want to zip (called bitvolution) ...
35
votes
3answers
122k views

How do I compress a directory?

I'm trying to compress a directory and ftp it to a windows ftp. I have tried every tar command I can find to compress a directory. It appears to be ok. Then I transfer it and view it's contents ...
0
votes
1answer
382 views

Problem with installing programs

I am unable to install programs for the Ubuntu 10.10 system. The download is ok, but when attempting to install them, the following message is displayed, AN ERROR OCCURRED WHILE OPENING THE ARCHIVE ...
24
votes
3answers
29k views

Create encrypted (password protected) zip file

How do I create an encrypted (password protected) zip file?