Questions tagged [unzip]

unzip refers to the utility `unzip` or an action of unzipping.

Filter by
Sorted by
Tagged with
0
votes
0answers
44 views

One tool that WORKS for all archives and compressed files

I have been using 7z, unrar , Peazip and Archive Manager and what not and I am having a hard time matching the compressed file/archive file with the appropriate tool for extracting. The default ubuntu ...
0
votes
1answer
55 views

how to extract a currupted zip file

I compressed some zip files to another zip later when I tried to extract it it says End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a ...
0
votes
1answer
55 views

Finding a offset of file in a zip without unziping using shell?

Is there any way to use the shell command to find the offset of a file inside a zip without actually extracting the zip? Have tried zipinfo XXX.zip which provides sizes which had to add up sizes to ...
2
votes
0answers
48 views

Gnome File “Extract Here” failed, but command line unzip works

Using Ubuntu 20.04.2, Gnome 3.36.8, all up-to-date (2021-03-07). Download SDK Platform-Tools for Linux. Using the File app, right click, "Extract Here". The result is an empty directory ...
0
votes
0answers
12 views

Unzip get me the same version of archive files although the archive was changed

I have a git repository. I made a zip file and copy it to Ubuntu 20.04 server. Then I called unzip archive.zip After that I found out there are git changes without commit, which I don't want to have ...
1
vote
0answers
17 views

tgz file extracted folders has no files

When I tried extracting a tgz file using archive manager, the extracted folders has no files. I tried other softwares like 7zip also. But that also is not returning the same error. Can you suggest a ...
1
vote
1answer
56 views

Selectively exracting files from tar.gz file

I have a file data_backup_202.tar.gz whcih contains more than 400 files. Datestamp of those files goes back to 2010. I want to extract or decompress files for last 6months from this data_backup_202....
0
votes
1answer
263 views

Getting error “pathname cannot be converted from utf-8 to current locale” while extracting a zip file in ubuntu 20.04

When I am trying to unzip a file "Desktop.zip" I am getting below error as shown in figure: I have made this zip file in ubuntu 20.04. Then downgraded to 18.04 and tried to unzip here. I am ...
0
votes
1answer
138 views

I cannot unzip.tgz file in my external hard drive

I tried to unzip my .tgz file in external hard drive (directory: /mnt/e) with tar -xvzf (filename).tgz It failed with error message: tar: Exiting with failure status due to previous errors Also, I ...
0
votes
1answer
340 views

How to install PyCharm from zip file? [duplicate]

I have downloaded PyCharm and unzipped using unzip command. By using help from the internet I did everything to install it, but the ./configure command shows me an error: bash: ./configure: No such ...
0
votes
0answers
131 views

Unzip Voxceleb dataset through terminal and python

I am trying to use voxceleb dataset for some audio classification. I use this command to download the dataset: wget --user=.... --password=... https://www.robots.ox.ac.uk/~vgg/data/voxceleb/vox1a/...
3
votes
1answer
3k views

Zip File Extract not working in Ubuntu 20.04 LTS

I have recently upgraded my system OS to Ubuntu 20.04 LTS. I have some zip files generated from another machine having OS Ubuntu 18.04 LTS. When I try to extract the file in my OS, I get the error: An ...
0
votes
0answers
424 views

Tar xvf working fine, but file not unpacked

I am trying to download Apache Spark in the folder spark1. $ wget https://downloads.apache.org/spark/spark-3.0.0-preview2/SparkR_3.0.0-preview2.tar.gz Using above statement I get a .gz file. I am ...
-3
votes
2answers
3k views

Can't extract zip file Ubuntu 18.04

For example,I created a simple zip file (inside I have the sentence: hello world!) in desktop. I want to unzip it, but nothing happens. I also installed (zip unzip) with this command: sudo apt install ...
0
votes
1answer
805 views

Getting errors when I try to unzip splited zip files

OS version: root@triiage_1:~/zip# cat /etc/os-release NAME="Ubuntu" VERSION="18.04.4 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.4 LTS" VERSION_ID="18.04" zip version: ...
2
votes
1answer
190 views

Unzip a .zip file to all directories that contain a .php file that contains the text “house” inside?

How to unzip a .zip file to all directories that contain a .php file that contains the text "house" inside? Something like: grep -rl --include='index.php' 'house' /directory/path/of_the_index_file* |...
4
votes
1answer
5k views

Linux unzip file from script without outputting the unzipped file names

I unzipped a file from a script with "unzip filename.zip" and in the terminal I see all the unzipped file names. I would like to unzip the file without printing those names so that I have a clean ...
2
votes
1answer
2k views

Why is unzip in the file explorer so slow?

I frequently unzip files which contain thousands of small text files within them. I have noticed that when I do this in the file explorer (right-click → Extract here) it can take a long time and ...
0
votes
2answers
1k views

Unable to unzip file .tar.gz on ubuntu

Hello I have a problem with the command: tar -xvzf. I want unzip the plugins that I just downloaded but I get this message. but before everything else I needed your help please. tar (child): cannot ...
0
votes
2answers
124 views

Is it possible to unzip documents into a directory which is created on the fly in a single command?

How can I achieve something like the following? unzip ./zipped_docs.zip ./new_folder | mkdir ./new_folder Or mkdir ./new_folder | unzip ./zipped_docs.zip ./new_folder I even tried mkdir ./...
0
votes
3answers
162 views

How to send a zip file containing bunch of pdf's directly to a printer?

I receive regularly a bunch of pdf's as a single zip file. I would like to send these directly to a printer. I found a nice script which allows using the right-click context menu to send the pdf's ...
0
votes
1answer
1k views

Unzip command equivalent to “extract here”

I have a.zip file. I want to extract it so I have directory "a" consist of its content similar when I do right click on directory a then click "extract here". Is it possible to replicate that gui ...
1
vote
1answer
1k views

ubuntu 14.04: How to compress a directory which have symlinks?

I have a php project of size 3.5GB in which there are symlinks of several files. I want to zip it and take backup to windows 10 PC from my ubuntu 14.04 laptop. Whenever, I make a zip file of it and ...
0
votes
1answer
569 views

Error `Archive not supported` while opening extracted .js file in 18.04

I am getting this message from Archive Manager when trying to open a text file: Could not open “users.js” Archive type not supported. I've tried different archive managers but not one works! ...
1
vote
2answers
8k views

Extract files inside folder in ZIP archive to current folder

can I extract files from a specific folder inside a zip archive to a current folder? I tried to use unzip archive.zip folder/* But I got folder "folder" in my current directory. How can I ...
1
vote
3answers
2k views

Extracting rar files having the same password

I use unrar to extract rar files on Ubuntu 18.04. How can I extract 100 files that have the same password without giving the password 100 times. I hope I can do it on Nautilus, also terminal is fine.
0
votes
1answer
327 views

Need help with: “file type Gzip archive is not supported”

I’ve downloaded the Ltc core wallet on Ubuntu 16.04, 32bit. When I try opening the folder, a message tells me ‘file type Gzip archive is not supported’. So I downloaded Xarchiver and tried again, with ...
0
votes
1answer
2k views

how to unzip .zip file and its sub directories [duplicate]

I have a zip file and in that I have multiple folders zipped. How do I unzip all the files in one shot. I tried unzip -r but it didn't work Regards, Vikas
10
votes
2answers
20k views

Unzipping large file: bad zipfile offset (local header sig)

I am unzipping a file with approximately 3 million single text files - the zip-file itself is around 12 GB in size. It's not multi-part - it's just one large zip file btw. I do not have the original ...
2
votes
1answer
268 views

Is it possible to keep setgid bit when unzipping files as non-root user?

I have a folder with the following permissions: drwxrws--x+ 13 myuser www-data 4096 Mar 20 09:57 project-folder In this folder I have an archive archive.zip with the following permissions: -...
3
votes
0answers
167 views

What does Ununtu 17.10 invoke when I use “Extract here”?

I am using Ubuntu 17.10, with Unity. I have a zip file, which, when unzipped with "Extract here", produces error There was an error while extracting "file.zip". Error opening file "/path/to/file/...
3
votes
2answers
3k views

Click to “Extract here” possible?

For my work I constantly need to unzip zip-archives. I know I can right-click and select "Extract here", but since I do this a lot, this is becoming annoying. Is there a way to set the default ...
1
vote
1answer
1k views

How can I do recursive unzip from terminal? [duplicate]

Inside a zip I have one more zip file I want a command to extract all at once.
1
vote
1answer
2k views

Unable to unzip a file with the ubuntu terminal

I have got the following error message. The zip file(5GB) may be too big Archive: /home/wing92518/Documents/simulation_set_1_result/replication_1.zip warning [/home/wing92518/Documents/...
1
vote
2answers
5k views

Rename the files as they are extracted from the zip file as the name of the zip file itself

I have many zip files (think 100-150) in a folder. Each zip file has multiple files with different file extensions. I know how to write a bash for loop to unzip all the contents of these files. ...
1
vote
1answer
11k views

Unpack zip file: “End-of-central-directory signature not found” error

I keep getting this error every time I try to unzip my file: Archive: Server.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a ...
2
votes
2answers
9k views

Is it possible to run some SSH commands using SFTP?

Having me not knowing much about Ubuntu; this is my first question here. So excuse me if it looks invalid question. I was told that its possible to run some SSH commands using SFTP. If that is ...
3
votes
1answer
2k views

How do you recurse directories, unzip, and move everything up?

Say I have the following directory tree . ├── a1 │   └── sub1 │   └── a1.zip └── a2 └── sub2 └── a2.zip The current directory contains a1 and a2 directories. I want to recursively ...
0
votes
3answers
8k views

Can't unzip zip file in Terminal because of a single corrupted file

I've got a large zip file that I am using Terminal to unzip, like so: unzip /Volumes/9.25.17\ Backup/Documents.zip -d /Users/evan/Desktop/ When I try this, everything works fine until it tries to ...
6
votes
4answers
14k views

Can't extract a large zip file

System says my zip file is okay, but I can't extract it through unzip. I think maybe because it's such a large file (34 GB) that unzip might not support it. Is there a way to get this to work?
8
votes
2answers
14k views

How to unzip a Japanese ZIP file, and avoid mojibake/garbled characters

I received a ZIP file from a Japanese customer. When I try to unzip it the file and folders names are messed up: $ unzip ~/Downloads/【新入荷ECM】資料.zip ... inflating: БyРVУ№Й╫ECMБzОСЧ┐/123_ГЖБ[ГXГPБ[ГX....
2
votes
2answers
52k views

How to unzip “.zip” files?

I downloaded some files from the web but I can't figure out how to access them... I'm going to have to go without Internet service for a week since other bills require my attention more. I was really ...
12
votes
1answer
9k views

How to rename/extract files with long names in zip archive

I have a zip which contains files with very long names. If I try to extract on the command line, I get the error "File name too long". If I use the graphical archive manager it will not extract the ...
10
votes
3answers
22k views

Q: How to show unzip progress?

How can I show progress, bar or percentage, when unzipping large files? 'unzip zipfile.zip' does not show any progress info?
4
votes
2answers
479 views

Extract multiple zip files from text list into their own folders with error log

I wish to unzip ZIP files from a text list, each one into its own folder and output the errors into a log file. The list looks like this: 0001.zip 0002.zip I know i can use the following command ...
15
votes
3answers
23k views

Unzip specific directory without creating top directory

I have a ZIP file in which there is a top directory where all the files are stored: Release/ Release/file Release/subdirectory/file Release/subdirectory/file2 Release/subdirectory/file3 I want to ...
6
votes
1answer
28k views

Shell script to unzip a file with a password

I am trying to unzip a file with a given password from the vendor. I need to automate this process so I'd like a command to do it, so that I can write a script.
10
votes
6answers
2k views

List zip files which have less than a specific number of files

I have thousands of .zip files in one folder. I wish to find which zip files have less than 15 files in them. I know that unzip -l can list the contents of the zip files but I don't know how to ...
3
votes
3answers
3k views

unzipping multiple files at once

I have thousands of .zip files in one folder, I want to extract those using command or script, each .zip file to it own folder. I wish to run the unzip process multiple times. How can i do that?
2
votes
2answers
1k views

Unzip with the Pipe Viewer

I'm trying to use Pipe Viewer (pv) while extracting files from zip archive. Now I'm using unzip -o -q myfile.zip -d test So I tried something like (solution seen for tar) pv myfile.zip | unzip -o -...