Questions tagged [unzip]

Unzip is the process of archiving or decompressing a zip file.

Filter by
Sorted by
Tagged with
1
vote
0answers
57 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
0answers
60 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 ...
5
votes
1answer
85 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 ...
1
vote
1answer
62 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
2answers
119 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
1answer
312 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
0answers
18 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 ...
0
votes
1answer
38 views

How do I output content of specific file from zip achrive by `jar:` URL in Linux?

Given URL like jar:file:///path/to/some/file.jar/path/inside/zip/hello.txt, how do I uncompress and output specified file from specified archive automatically? A script using unzip or jar or 7z can ...
0
votes
1answer
1k 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
0answers
39 views

Why is VBScript slow when it comes to unzipping files?

I know that there are of course going to be some struggles. But I'd love to know what specifically makes it so much slower, compared to a JavaScript equivalent, or just using 7-Zip.
0
votes
1answer
3k 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 ...
0
votes
0answers
196 views

Automatically replace files in destination when dropping zip into batch

I'm using the following code in a batch to unzip files to a specific destination. What can I add in order to have the extracted files automatically overwrite the existing files? @echo off setlocal cd ...
0
votes
0answers
21 views

How to keep file and folder names the same as on Windows when extracting on Linux

I have problems compressing and extracting a folder containing Chinese characters (ISO-8859-1 encoded) between windows and Linux I have a folder named ÖÃÔ­¶þÇø (and many files have similar ...
38
votes
1answer
11k 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 ...
0
votes
1answer
436 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
1answer
2k 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 ...
2
votes
1answer
3k 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 ...
1
vote
0answers
41 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 ...
2
votes
2answers
4k 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 ...
1
vote
0answers
33 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), ...
2
votes
2answers
15k 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, ...
0
votes
2answers
452 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
1answer
88 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 ...
0
votes
1answer
531 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 *....
5
votes
3answers
4k 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.
1
vote
1answer
5k 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 ...
0
votes
1answer
4k 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 ...
1
vote
0answers
121 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 ...
2
votes
2answers
3k 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: ...
9
votes
1answer
27k 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?
2
votes
2answers
2k 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 ...
0
votes
0answers
1k views

Automatically unzip files on SFTP server

I need to find a way to automatically unlock & extract some zipped, password-protected files on an SFTP server whenever a zip file is dumped there. I know either Python or PHP would enable me to ...
1
vote
1answer
2k 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 :...
2
votes
1answer
3k 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 ...
-1
votes
1answer
207 views

Opening a 7z file on mac shows strange encodings

I am opening this file: https://dataverse.harvard.edu/file.xhtml?fileId=2901965&version=1.0 On TextEdit. When I do, the file looks like: 7zºØ'· t(ù‚]%N ò„,¢‡ò] ¬CRJ∫√ıìaIÄÅ≤íhYTÔ1/ıG3À=ôN’(...
2
votes
1answer
245 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. ...
0
votes
1answer
492 views

cygwin unzip is creating dir/files that I cannot delete later

UnZip 6.00 of 20 April 2009, by Info-ZIP -- from cygwin 32-bit. Windows 7 Enterprise. Run with Administrator access. When I use unzip to explode .zip files, the directories and files that are created ...
0
votes
3answers
771 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 ...
2
votes
1answer
1k 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 ...
0
votes
1answer
215 views

Unziping multiple ziped and rename automatically files with same name if needed

I have a bunch of Ziped files in a folder, and i would like to unzip all, ut automatically rename folders or files with the same name, example: In ZIP_folder_1.zip and ZIP_folder_2.zip i have one ...
69
votes
3answers
40k 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 ...
20
votes
8answers
107k 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?
0
votes
1answer
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 ~/...