Questions about manipulating .zip files or zip archiving utilities.

learn more… | top users | synonyms

3
votes
1answer
54 views

Have `zip` utility only echo if a file was added or actually changed

I'm using zip to create an incremental archive. I would like it to only echo the file if there was a change between source and the archive, or if it's an added file. This would mean if I ran it ...
0
votes
2answers
32 views

unzip multiple files

I don't think that I'm the only one with this problem, but unfortunately I wasn't able to find the proper answer between previously asked questions. It is a very common procedure on torrent sites ...
0
votes
0answers
24 views

alternative of dmg for ubuntu (to password protect folders)

I used dmg files on Mac osx to password protect files. I can create a password protected zip file. But decompression is very long for big files. On other hand dmg are so fast in mounting. So is ...
0
votes
0answers
34 views

zip warning: No such file or directory

I have a backup bash script for my Dovecot emails like this sudo zip -y -r -q ~/backup.zip /var/vmail/* -r is for recursive, -q is quiet (since man said that's useful for bash scripts), -y is to ...
1
vote
2answers
50 views

How can I compress multiple pairs of files into separate archives by name?

I've got a couple dozen sets of Audacity project folders and .aup project files whose names are very close, i.e. 10-13-14-data and 10-13-14.aup. I'd like to compress all of these files automatically ...
0
votes
1answer
178 views

Extract tar.gz to STDOUT and zip STDOUT

I need to extract an tar.gz archive I downloaded with curl into STDOUT and use the STDOUT as STDIN for zipping the files again. curl -L someURL | tar xz --strip-components=1 -O| zip -r test.zip ...
0
votes
1answer
86 views

curl to tar to zip not working properly

I am wanting to download an tar.gz archive, extract it and compress it into a zip file in one command. Reason for this is to be independent from temporary files. The command I use: curl -L "someURL" ...
-1
votes
1answer
277 views

How To Zip An Archive Without Including Parent Directory

Help Please I want to zip many folders and their directory tree is like so V- something.txt folder folder g.jpg h.jar Now Whenever i try to zip it it ends creating a zip archive with the v ...
0
votes
2answers
582 views

How to extract zip file to specific folder

I have a zip file that I need to extract into another folder. When I set up extraction to said folder it says "permission denied". I've read here how to log into a terminal as root and superuser but ...
1
vote
1answer
1k views

Extract several zip files, each in a new folder with the same name, via Ubuntu terminal

I have many zip files a.zip, b.zip, c.zip, ... and I want to extract each of them into new folders a, b, c, ... respectively, via ubuntu terminal. Actually, what I want is a solution that I can use ...
1
vote
1answer
60 views

Excludes specific files from all subdirectories when creating a zip file

I want to exclude all .zip files in all subdirectories of the parent folder I'm zipping but I doesn't work. I have check the man zip pages, this and this questions without success. I have tried: ...
0
votes
0answers
42 views

not able to Extract file (jar/zip)

I got this message when extracted the file of jar End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter ...
-1
votes
3answers
43 views

Trying to unzip a locked folder

I recently downloaded a .zip archive, and i want to unzip it, so that I can run the application inside, but when I try to, it asks for a password. I am the root on my laptop, so I put in my own ...
2
votes
0answers
89 views

Zip is corrupted, unpacks on Mac but not on Ubuntu

I have a zip file that is indeed corrupted. It contains one file that is fine, and a second that is 0bytes and corrupted. But when I unpack it on my Mac (double click in finder), it does unpack and ...
0
votes
2answers
436 views

How to convert the iso file into rar or zip or tar?

Is there anyway to extract iso or convert that to zip or rar or tar file? actually I have a big iso file on my remote server so I just want a file from it not all of that, unfortunately I have not ...
1
vote
1answer
181 views

Unzip 5GB zip file [duplicate]

I have here 5GB zip file but I have no idea how to unzip that. I tried: 7z x file.zip Returns: Error: Can not open file as archive jar xvf file.zip Returns: jar: error opening file.zip for ...
0
votes
1answer
383 views

How to write shell script for creating zip ?

I need to write a shell script .sh file which is creating a zip file from /var/www as a sudo user. I have my Ubuntu server and my site hosted on it which means my source code is in /var/www ...
0
votes
2answers
168 views

Zip all files in a directory individually and password protect them.

I'm using an Ubuntu system to download suspicious/suspected malware files for analysis. I need to zip each file and password protect it to prevent accidentally infecting other systems when ...
1
vote
1answer
1k views

7z “ultra” settings for zip format

7z "ultra" settings for .7z format are: 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on What are the "ultra" settings for .zip format (using 7z)?
1
vote
0answers
54 views

When I open zip files they turn into 7z and then won't open [closed]

I'm using Xubuntu 14.04 and when I try to open a .zip file with the default Archive Manager it turns into a .zip.7z and then it doesn't open.
0
votes
0answers
10 views

Problem server DHCP

I have deleted all the file system of DHCP server from ubuntu Please how to do to retrieve them? Thank you in advance for yours responses.
0
votes
0answers
11 views

Archive format with index table that preserves executable bit?

The title basically sums it up. I like how zip is fast (basically you can instantly open it and look what's inside), but I need to keep executable flag for files, like tar.gz does. Is there any ...
1
vote
2answers
116 views

Why is this zip file unable to open?

I'm trying to unzip a zip file which contains a video... right away it says: 7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 p7zip Version 9.20 ...
0
votes
1answer
62 views

OSx Terminal send zipped file to directory [closed]

I would like to zip the contents of a flash drive using this terminal command: zip -r archive_name.zip folder_to_compress The problem is, the flash drive is almost full, so I would like to make a ...
2
votes
2answers
1k views

how to extract multiple zipped and rar files recursively?

I have a folder ExampleFolder which contains many zipped folders. These zipped folders also contains multiple zipped folders. How to go through ExampleFolder and extract all of its zipped folders ...
0
votes
0answers
92 views

How to Delete Extracted Files

I was trying to install some custom themes on my computer running Ubuntu 12.04 LTS yesterday, but with little success. The next day I realized that my failed attempts at getting a theme going resulted ...
4
votes
5answers
1k views

What is the difference between different “compression” systems?

I've always used TAR and ZIP for compression, but recently I have heard about the *.Z compression algorithm. This brought up a question for me: With all of these compression systems, which one is ...
0
votes
1answer
39 views

Zip file help Final Core

I downloaded a game called Final Core and it is a zip file that I don't know how to open. if anybody knows please help, Thanks
4
votes
2answers
108 views

Updating packages when network access to standard repositories is blocked [duplicate]

My college just blocked Ubuntu repositories. So is there any way to install texlive package from something like zip? I need to run this command, sudo apt-get install texlive texlive-pdf ...
-1
votes
1answer
2k views

how do i open up a zipfile of a subtitle and embed it onto a video?

would someone please give me explicit step by step instructions how to install an external subtitle onto a foreign video that i will play on SMPlayer. i know how to download the zip file from google ...
0
votes
2answers
216 views

How to hide zip files in a jpg file in Ubuntu? [closed]

I need a way to hide zip files in a file . Example i have a 1.zip , 2.zip ,3.zip contain data I need to concatenates them in a new file called example.jpg. Is there a way ?
0
votes
1answer
920 views

Unzip all zip files in a target folder?

I have a curl cronjob which periodically downloads a bunch of zip files into a target folder. Like this: curl www.zipdownloadfile.com/file.zip > file.zip Now I need to have Ubuntu unzip all of ...
0
votes
1answer
155 views

how to exclude directories and file zipping a directory?

I, need to zip a directory excluding some subdirectory and file; I used this: zip -r zipfile.zip . -x ".*" -x "app/bower_components" -x "node_modules" -x "*.zip" -x "node_modules" without any ...
-1
votes
1answer
2k views

Can't install new program from zip file

I'm new to ubuntu. When I install some new program from a zip file, I get this message and can't install it. Zipfile is disk 26970 of a multi-disk archive, and this is not the disk on which the ...
0
votes
1answer
244 views

Extracting a zip file in my machne givs me CRC error?

I have a large zip that contain hundreds of files. I've unzip'ed it in more than one machine and didn't have any problem before. However, for this particular machine (Ubuntu Server 12.04) I keep ...
5
votes
2answers
10k views

Compressing folders with password via command line

I would like to know whether it is possible to do the following via CLI. I have a Folder F which contains several sub folders and some files. I want to compress folder F into .zip file with the ...
1
vote
1answer
10k views

Can't unzip .zip files in Xubuntu 12.04 64-bit [duplicate]

I downloaded some .zip files and tried three different programs to open them and these are the results that I got: Squeeze: command exited with status 2304 Archive Manager: cannot open file as ...
1
vote
1answer
2k views

Xfce - GUI for File Compression?

If I remember correctly, using Nautilus in Gnome, I could simply right-click on a file & select "compress". Now I am using Thunar in Xfce & I can't find how to simply compress files... I ...
1
vote
1answer
9k 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
58 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
493 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 ...
3
votes
3answers
9k 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
220 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 ...
1
vote
2answers
5k 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
2k 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
822 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
113 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
3k 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
3k 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
3k 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 ...