Questions tagged [unzip]
Unzip is the process of archiving or decompressing a zip file.
60
questions
91
votes
4
answers
58k
views
Equivalent to tar's "--strip-components=1" in unzip?
I have a script that extracts a tar.gz-file to a specified subdirectory mysubfolder:
mkdir mysubfolder; tar --extract --file=sourcefile.tar.gz --strip-components=1 --directory=mysubfolder;
Is there ...
38
votes
1
answer
12k
views
Why is unzipped directory much smaller (4.0 K) than zipped (73.0 G)?
I unzipped a zipped file using zip -l <filename> but what get is a dir much smaller than what it was before unzipping. Unzipped dir has all the files mostly videos. Why is the unzipped ...
26
votes
8
answers
134k
views
How to unzip files via an FTP connection?
I have connected to my remote server via FTP and I got a directory listing. I have few zip files in the list.
Is it possible to unzip the file (Ex: test.zip)?. If yes, what is the command?
12
votes
1
answer
69k
views
How to decompress .lz4?
How to decompress .lz4 file under Windows? Is am not sure if it is supported in Windows. I tried to open the file using 7-zip but it could not open the file. How might I open and decompress this file?
6
votes
1
answer
724
views
How to unzip a file with a hyphen at the beginning of the file name
I have a Zip file with a hyphen at the start of its name, let's say '- stuff.zip'
If I need to move or copy the file, this means that I need to use a double-hyphen so that the filename isn't ...
5
votes
4
answers
9k
views
How do I decompress .bgz files?
Is there any software that will decompress a file named nnnnn.tsv.bgz on a PC running Windows 10?
The usual R commands will not do it.
4
votes
2
answers
22k
views
how can i unzip a zip file with creating a new folder on the given path in linux
i have to unzip a file, i don't want to CD and then run mkdir newfolder then come again to the folder where i have the zip file and then run unzip file.zip /home/user/newfolder
i want to simply run ...
4
votes
2
answers
38k
views
Unzip File: Permission Denied
I am trying to unzip a file (Facebook download-your-info zip file), but here's what I got:
Is there a way I can force-unzip it?
Update: I tried sudo unzip file.zip -d destination_folder in terminal, ...
4
votes
2
answers
22k
views
Can I open .zip files created with split .zip.001 files without 7-zip?
I use 7-zip to create several archives with fixed size (512 Mb) from one big file.
They have this structure:
my_name.zip.001
my_name.zip.002
...
my_name.zip.005
My problem is that without 7-zip I can'...
4
votes
2
answers
16k
views
Extract selected files from large zip file with limited available space
I need to download a large zip file (200 GB), unzip it (not sure how large it will become, but assume < 1 TB), and extract a few files from it (likely < 1 GB). My hard drive can't handle the ...
4
votes
1
answer
4k
views
Unable to understand error with unzip
I have some *.zip files. I was trying to unzip these files through unzip command in Unix. But it is giving some trouble which I can not understand.
Here is what I am trying to do
unzip file.zip
It ...
3
votes
0
answers
269
views
Is it possible to unzip in parallel with AES-256 encryption?
I compressed and encrypted (AES256) a folder with millions of JSONs using (in Ubuntu):
7za a -tzip -p -mem=AES256 json.zip json/
The compression seems to have gone fast, 4 hours or so. Now, I am ...
2
votes
2
answers
5k
views
How to unzip all files in a folder to their respective sub-folders using 7-zip on Windows 10?
I see various posts/answers around this topic but the answers did not work.
Environment:
Windows 10
64-bit
7-zip is located in c:\program files\7-Zip
I have a folder d:\zipfiles with many *.zip ...
2
votes
1
answer
7k
views
Trying to unzip a file inside sub directory getting error: caution: filename not matched
So I have a script that iterates over zip files, lists their content with unzip -l $filename, and looks for matches to pattern (.*)report.xml, in this case yields test0\report.xml
But when it tries ...
2
votes
2
answers
5k
views
How to know if a zip file has a root folder?
I regularly got suckered by zip file (libraries, programs, ...).
Sometime, I am cautious and I do:
$ mkdir content && cd content
$ unzip ../library.zip
Archive: library.zip
creating: ...
2
votes
1
answer
7k
views
Why do some (but not all) zip-Files greater than ~3.7GB fail to extract
I am dealing with a lot of zip-files (DCP Films for a Film-Festival) between 4GB and 40GB that are sent to me by various individuals that use various programs to compress the folder that they are ...
2
votes
2
answers
3k
views
How to explore nested zip without extract?
In bash, I use unzip -l in order to show the content of a zip without extract its content.
My question: what command should I use if I have nested zip files and I want to explore also the content of ...
2
votes
2
answers
1k
views
How to decompress an encrypted zip file with ANSI encoded password?
I need to decompress zip files generated in Windows with Japanese language. I'm using unzip.
If I use unzip files.zip I will get bad file names. So, according to this question, I used unzip with -O ...
2
votes
1
answer
6k
views
Methods to open huge .sql.gz file?
I have huge 12 GB .sql.gz file that I need to unzip on my Windows 10 computer. So far, I have tried using WinZip, 7-Zip, and the gunzip command in Cygwin. I received the error messages shown below for ...
2
votes
1
answer
2k
views
Count number of top-level items in ZIP archive
I'm looking for a terminal command to count the number of top-level items in a ZIP archive. I know that zip -l archive.zip will show the file count, but this shows all files, not just top-level items. ...
1
vote
1
answer
5k
views
How to extract zip file in remote host
I'm looking for a way to extract zip files on the remote FTP host from my own computer.
I tried both Filezilla and Liximomo's Sftp extension in Vscode. Both are working nicely and I can download/...
1
vote
1
answer
1k
views
How to use command line tool "unzip" to only grab a certain folder?
I have a .jar file which can be opened with the Command line tool "unzip", which has this option called -p so you can grab certain files. But how do you do this with a folder? Here's what this jar ...
1
vote
1
answer
6k
views
unzipping and re-zipping a file results in a different hash
I have an ev3 file called robot.ev3, when I ran file on it, the output I got was robot.ev3: Zip archive data, at least v2.0 to extract, I unzipped the file using unzip robot.ev3 -d robot moved into ...
1
vote
1
answer
228
views
Searching for square bracket with zipgrep
I have tried this in Cygwin and git-bash - same result.
With plain grep, a [ character in the pattern can be escaped with a backslash to indicate a literal [ character is to be searched for.
But ...
1
vote
1
answer
3k
views
How to make a batch script to unzip a password protected .zip file without additional zip tools?
What I had in mind was to prompt the user to for a password, then attempt to unzip a .zip file with it. Is it possible without using additional tools like 7-zip and WinRAR? I know you can call :...
1
vote
1
answer
2k
views
How to download the latest release from github and extract the zip in a folder using bash
I want to write a bash script to download the latest release from a github repo and extract the downloaded zip into a particular directory.
From this gist I am able to download the zip file. The shell ...
1
vote
1
answer
122
views
What does 'Unk:' mean in 'Stored' column of `unzip -v` output?
Running unzip -v archive1.zip, where archive1.zip is an encrypted archive, I get the following output:
Archive: archive1.zip
Length Method Size Cmpr Date Time CRC-32 Name
-------- --...
1
vote
2
answers
2k
views
How do I unzip zip archives and delete the files that I just unzipped at the same time?
I have a large zip file (101 GB) and I don't have enough disk space to directly copy all the files inside the zip archive. I was wondering if there was a way to extract the contents of the zip file ...
1
vote
0
answers
802
views
extract zip file and delete by batch
I want to unzip all the .zip files in a download directory like "D:\Download",
and then the zip files should be deleted after the contents have been extracted to a folder with the zip file ...
1
vote
0
answers
233
views
How can I unzip files in a child directory?
Say I have the following directories and files
/folder1/subdir/zip1.zip
/folder1/zip2.zip
/folder2/zip1.zip
/folder2/subdir/zip2.zip
If I am in /, how can I extract all .zip files quickly?
Edit:
The ...
1
vote
0
answers
29
views
Any way to Auto-Unzip a folder on a Chromebook?
I was wondering if there was any way to auto-extract/unzip a folder from the Chromebook download folder? The format of the download is a .zip file from repl.it, where the format for the download of ...
1
vote
0
answers
866
views
Unable to get data from unzipped file
I have a file on MacOS that I extracted from a ZIP archive that appears to have 113020 bytes or zero bytes depending on who's asking. So far I can't open it.The Finder's GetInfo function reports that ...
1
vote
0
answers
35
views
Download-Your-Info Unzip failed [duplicate]
I am trying to unzip a Facebook download-your-info zip file, but here's what I got:
Is there a way I can force-unzip it?
I tried sudo unzip file.zip -d destination_folder in terminal (I use Linux), ...
1
vote
2
answers
1k
views
unzip partial folder of tar file from url
I have a url which leads to a high size tar file, around 200gb , I need to extract one folder of that file in my linux system. Because of the large file size I don't want to download the entire file ...
1
vote
1
answer
9k
views
Bash script to unzip multiple files
I have various zip files that contain subfolders and no subfolders. I wish to extract all the zip to its folder. My current script does what I want if it contains subfolders. However, if there are no ...
1
vote
0
answers
143
views
Extracting .zip folder through PuTTy causes internal error 500
fairly new to this side of the world.
I am experiencing a weird situation. I succeeded to connect to a cPanel account through WinCSP, using CSP protocol and I am using PuTTY to run commands, like ...
0
votes
3
answers
12k
views
Using 7zip to extract multiple zips in multiple folders
I have a large folder tree. Let's say there are folders named A, B, C, etc. through Z.
Inside each folder are a number of zip files.
I can select all the zips in a folder, right click, select 7zip, ...
0
votes
1
answer
4k
views
unzip file without using `unzip` on Linux on a file zipped on Windows
When using unzip in Red Hat Enterprise Linux (RHEL) to deflate an 8.8Gb zip file created on a Windows 10 64-bit system, I am getting an error bad CRC eb71d36a (should be b0968d02). The single text ...
0
votes
1
answer
2k
views
how unzip many zip files found in many subdirectories, all in a certain different directory
i have a list of zip files, which each zip file in it has also some other zip files, and so on. I need to extract them all, with an ubuntu shell command, and get only the files with the extension *....
0
votes
1
answer
5k
views
Unzip a multi-file zip archive in freebsd
I created a multi-file zip archive of some files using 7zip on Windows to allow more easy uploading to my server. I now want to unzip this archive on the server, but I get this error:
[user@host ~/...
0
votes
1
answer
698
views
Unzipping potentially corrupt zip file
I have the following file: onedrive.zip
When I try to unzip it:
unzip onedrive.zip
Archive: onedrive.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it ...
0
votes
1
answer
289
views
Udemy.z01 is not RAR archive
$ unrar e Udemy.z01
UNRAR 6.02 freeware Copyright (c) 1993-2021 Alexander Roshal
Udemy.z01 is not RAR archive
No files to extract
0
votes
2
answers
4k
views
Unzipping a document on a certain date and it appearing on the installation folder with another date
Windows 10 user here. I don't know how WinZip or other unzipping programs work, but when I unzip a certain folder or document using WinRAR, the date of the unzipped contents are the dates they were ...
0
votes
1
answer
2k
views
Invalid file name inside zip file
I have a ZIP file, and inside that zip file, there's multiple files with invalid file names (for my Debian OS): for example fileABC£ [abc123].txt
When I attempt to extract it unzip data.zip:
error: ...
0
votes
3
answers
1k
views
Rezip file without creating temporaries
Maybe it's best I just start off with the use case.
I have a large zip file full of many files and I suspect it was originally zipped at a low compression level.
I want to create a new zip file from ...
0
votes
0
answers
119
views
File shows up in zipinfo but not unzip?
I have a huge (~300GB) zipped archive and I'm trying to extract a few files from it while ignoring the rest. Running zipinfo on the archive brings up a list of files but when I try to extract one of ...
0
votes
1
answer
687
views
How can I reach the last Zip file in a long row of nested Zip files
I have a task to reach the last file in long row of nested Zip archives. They go like this:
3301.zip
|
3300.zip
|
3299.zip
|
...
0
votes
1
answer
89
views
How can I command `zip -u ` to target folder?
When I command zip -u hello.zip -f hello it tells me to specify only one action!! I do not know how to fix that.
0
votes
0
answers
1k
views
Windows: command line how to unzip file and rename it's content with zipped file name in current folder and sub folder?
I would appreciate if I got help on this, I have the following script that unzip and rename the content with zipped file name, however it works in the current folder only, I need it work in subfolders ...
0
votes
2
answers
1k
views
Can one extract the files in a .tar.gz and upload them individually onto cPanel?
I am in the process of migrating my website from Bluehost to a different hosting company. I downloaded the entire backup of the cPanel (61 GIG) successfully, but uploading files is incredibly much ...