Unzip is the process of archiving or decompressing a zip file.
Questions tagged [unzip]
59 questions
89
votes
4 answers
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 any equivalent way of doing this with a zip-file?
Fredrik
- 1,015
- 1
- 7
- 6
38
votes
1 answer
Why is unzipped directory much smaller (4.0 K) than zipped (73.0 G)?
I unzipped a zipped file using zip -l 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 directory exactly 4.0k? Am I missing something?
Bash output of…
bluedroid
- 457
- 1
- 4
- 7
26
votes
8 answers
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?
Hearaman
- 363
- 1
- 3
- 6
11
votes
1 answer
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?
user859920
6
votes
1 answer
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 interpreted as an option :
cp -- '- stuff.zip' '-…
user123065
- 113
- 6
5
votes
4 answers
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.
Maringo7
- 51
- 1
- 5
4
votes
2 answers
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 amount of data, and I don't have an external drive with…
Sulad
- 55
- 1
- 1
- 3
4
votes
2 answers
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't open them, is it possible by just using…
mrgloom
- 357
- 1
- 4
- 12
4
votes
1 answer
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 is giving the following error
bad CRC 64162f32 …
Bionerd
- 61
- 1
- 4
3
votes
0 answers
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 decompressing/unencrypting the json.zip:
7za x…
toto_tico
- 591
- 4
- 9
3
votes
2 answers
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 the command from the whichever directory i am it…
csx4
- 168
- 1
- 2
- 8
3
votes
2 answers
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, and it unzipped the file, but what came out, all…
Vee Hua Zhi
- 143
- 1
- 1
- 8
2
votes
1 answer
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 cp932 to decompress them. In this way, I can get…
RabidBear
- 21
- 2
2
votes
1 answer
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 sending. There are usually 5-10 files per folder…
farbenrausch
- 21
- 1
- 4
2
votes
1 answer
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 to unzip using unzip -j $filename, I get caution:…
Carmageddon
- 277
- 1
- 3
- 9