Questions about manipulating .zip files or zip archiving utilities.

learn more… | top users | synonyms

1
vote
2answers
39 views

Gzip compressed each files with .gz Extension how to revert back

I am trying to do a zip project folder and by mistake used gzip -r /project1. gz /project1 and it has been zipped each files with.gz extension how I can revert it back. Please advise. /app# ls ...
1
vote
1answer
50 views

Unzip .zip on Ubuntu 15.10

I've updated to 15.10 from 15.04. My laptop has a pre-installed Ubuntu since I bought it. Every time I try to open a .zip file, this error message shows: Photo How can I fix this?
0
votes
0answers
15 views

Ludum Dare Game (.zip) — Can't Find A Way To Install It

I want to play the game "Let's Play Simulator 2016",but I can't seem to install or run the program. I made sure to download the Linux version and it came in a .zip file. I extracted it and saw that ...
1
vote
1answer
77 views

Cannot download zip files

I cannot download from this link https://services.gradle.org/distributions/gradle-2.4-all.zip in Firefox and Chrome in my Ubuntu 15.10. Actually, I faced this problem in Android Studio while opening a ...
0
votes
1answer
61 views

What is the crc32 polynomial?

What is the polynomial used for crc32? The ANSI X3.66 CRC-32 is 0x104C11DB7. The man page for crc32 does not indicate the polynomial it uses.
0
votes
1answer
73 views

`zip` works in shell but not in Python script

According to this post I'm calling the zip command using os.system() in Python. At the command line it works: zip -r /Backups/backups/20152011-120209{.zip,} When I call this from a Python script ...
0
votes
0answers
26 views

extracting zip files change them into HTML instead binary format

i have a problem with some stata.dta files that i can not open in Ubuntu 14.04. Files are in zipped folder and after extraction they get HTML format instead of binary. Why does this happen? How can i ...
3
votes
1answer
42 views

How to recursively zip subfolders?

Been banging my head against the wall few hours now.... trying to recursively zip subfolders, but only the files in them. I've been trying to modify this script: for i in */*/; do zip -j -r ...
0
votes
0answers
16 views

unzipping files [duplicate]

I'm new to Linux. I found that to unzip tar files we use tar -zxvf filename or tar -zvf filename. can someone please give me some details... like any meaning behind each letter 'z','v','f'. how to ...
2
votes
1answer
116 views

batch rename zip files based on contained file names

I've got a directory with 15000 zip files. I'd like to rename all files which, when unzipped, contain a file of the form YYYYMMDD_IPC.csv where YYYYMMDD happens to be a date but for the purposes of ...
0
votes
0answers
38 views

Display all images using next arrow from a compressed file(zip or rar )

Is there a way to display an image from compressed file(zip or rar file) and then press next arrow to display the next image in that compressed file (zip or rar file). In both cases(where we have a ...
6
votes
3answers
704 views

what does the -@ mean when zipping a file in unix?

I found this command online, but not sure what the -@ means. find . -type f -mtime -29 -mtime +21 | zip -@ 061110_061201.zip
0
votes
1answer
313 views

zip multiple files with the same name but different extensions [closed]

I have a folder that contains files with the same file name but different extensions (.jpg and .eps). Each .eps has a matching .jpg with the same name and I want to zip them together in pairs. (The ...
0
votes
1answer
2k views

Trouble with zip support in custom Python build: zipimport.ZipImportError: can't decompress data; zlib not available

I looked here but I am not getting a lot out of the answer: A big reason for this is because I am a new Linux user and I haven't seen all the commands in action yet. I have the exact same problem as ...
0
votes
3answers
139 views

Bash - create zip by finding files

I want to create bash script that find *.mp4 and zip it. I use this: #!/bin/sh zip -r $(find . -name '*.mp4').zip $(find "/home/ehsan/Desktop" -name '*.pdf') but not work and get this error: zip ...
0
votes
0answers
59 views

Dropbox downloaded zip contains same foldernames twice

I'm not sure if this is a Ubuntu related question. The problem: when I download a folder from dropbox, the files are spread over folders with basically the same name except for the folder name ...
2
votes
1answer
213 views

Game came in a .zip file. How to install it?

I downloaded a game from http://floriandcp.itch.io/campfire and it came in a .zip file. I extracted the file but I can't find a way to install it. That is the game that I'm trying to install. Can ...
1
vote
2answers
55 views

Ideal way to take zip backup

I am trying to zip text, csv files from a folder on a weekly basis. Based on answer given to my earlier question, I got this code working. sudo find . -mtime +7 | sudo zip -m archive-$(date ...
0
votes
1answer
42 views

Ubuntu low memory after playing videos from .zip file

I have a .zip file that is 4Gb of size and has videos, after trying to play some of them directly from the .zip file just by double clicking I noticed that I was running low on HD memory so I ...
2
votes
0answers
51 views

Preview of pictures in zip or rar file in Nautilus

Xubuntu is a very nice feature that is a preview (pictures) the zip file in your Thunar file browser. How to do this in Nautius / Ubuntu.
-3
votes
1answer
62 views

Extracting a strange .zip

I just downloaded the Raspberry Pi (rate) image from the PirateBox webpage. I received a zip file containing only one file, called raw_arch_image (no extension). The zip itself is called ...
0
votes
3answers
69 views

Zip files into weekly archive with week number

I am trying to take a weekly archive of a folder to separate zip files. find . -name '*.txt' -ctime +7 -exec zip "archive-$("date+%Y-%U").zip" {} \; I am stuck on how to name the zip file. Any ...
2
votes
0answers
33 views

SVG in cbz (comic)

As an experiment, I create a CBZ (comic format) document that was composed of zipped SVG images rather the usual raster images Evince happily opened this - much to my delight because it is a very ...
0
votes
0answers
45 views

Unzipping splitted zip archive

I've a zip file (7.9 GB) on my ubuntu server which created with this command : zip -9 -r sc.zip FOLDER/ And then split it to 2 parts split -b 4294966367 -d sc.zip sc-part Now I have sc-part00 ...
2
votes
1answer
114 views

Use zip command to place in directory after zipping

I'm creating my backup script and have this: DATE=$(date +"%m-%d-%Y") zip -r backup.$DATE /home/folder/folder First creates the date variable for the name, and the /home/folder/folder, I guess, is ...
0
votes
2answers
116 views

Creating 2 zip parts starting from specific byte

I have a 7 GB directory on my server and I want to download it to my PC. I've archived it with this command: zip -9 -r sc.zip FOLDER/ I downloaded it to my PC . But ZIP file larger than 4 GB gives ...
10
votes
1answer
3k views

Error while installing Visual Studio Code on Ubuntu 14.04

I've been trying to install MS Visual Studio Code after it was announced today, on my Ubuntu 14.04 computer. I've read the official docs and setup from Microsoft and I've read an answer to a question ...
45
votes
5answers
56k views

How to install Visual Studio Code on Ubuntu?

I just downloaded VSCode-linux-x64 from the Microsoft website. It's a 62 MB zip file. How can I install it on my Ubuntu system?
0
votes
2answers
374 views

7zip destination folder -o

I have wondered a long time how to do this and read already many manuals but dont get this to work. I want to zip with 7zip a folder to specific destination. There is in manual a guide to use ...
0
votes
2answers
29 views

zipping certain files only

I have a folder cnt, where inside I have a/estimate.txt a/otherFolder/.... b/estimate.txt b/otherFolder/... ... z/estimate.txt z/otherFolder/.. I want to have a zip containing a/estimate.txt ...
0
votes
1answer
107 views

Zip folder exclude some folders

I'm trying to backup my www-folder but hidden folders like .config inside www are added to the backup. I want to exclude the folder "backups" and all folders (and files) starting with a dot. Current ...
1
vote
1answer
50 views

Why all zip files should be marked as executable?

I can extract any .zip file by right clicking on it and choosing Extract here. I'm also able to open any .rar .tar.gz and etc files without extracting them (access its inside files by opening the .rar ...
0
votes
0answers
192 views

fcrackzip giving me a corrupted file error every time

So I'm trying to use fcrackzip to crack a password protected textbook pdf in a zip file. This is the command I run: fcrackzip -b Technical.zip And this is the error I receive, no matter how many ...
0
votes
0answers
23 views

Problem to unzip a file [duplicate]

I am trying to unzip a file and the system is giving me the following answer: End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a ...
2
votes
2answers
720 views

GZip of drive image created by using `dd` command

I created yesterday a drive image using GZip. I opened the 51.3 GiB file named ssd.img.gz to see one icon thats a package of 3.9 GiB, yes, thats THree point Nine Gigabytes in size and has the name of ...
0
votes
1answer
247 views

Why does the password for a zip-file not work?

I've tried to unpack a password-protected zip-file on Ubuntu 14.04. Although I am absolutely sure the password I use is correct the built-in unzip-function gives an "unknown error".
2
votes
1answer
65 views

Why I can't unpack a .zip folder on GUI?

I download a .zip folder/file and I have two installed unpacking programmes (Archiver for .zip files, 7zip). But when I click on the unpacking here options it says An error occurred while loading the ...
3
votes
1answer
73 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 ...
1
vote
2answers
272 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
1k 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
669 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
5k 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 ...
1
vote
2answers
19k 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 ...
8
votes
2answers
9k 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
193 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: ...
-1
votes
3answers
155 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
226 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
2k 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
696 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
3k 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 ...