Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [unzip]

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

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

How to list files with unicode path in zip?

I am trying to print unicode files in zip. But it doesn't seem to work with Unicode paths. Does anybody know how to show unicode files in zip? $ zip x.zip 程序.txt adding: 程序.txt (stored 0%) $ unzip ...
0
votes
0answers
12 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
14 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
15 views

Batch unzip shell script

I am currently using this script to extract different types of zip folder structures and has been running great. Recently, I have noticed one zip file that the script doesn't cover. - myfile.zip -...
0
votes
0answers
41 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
14 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
44 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
60 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
0answers
867 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 ...
0
votes
0answers
179 views

7z.exe Extract Only Updated Files

I have .zip file which has around 40,000 files. Questions: For the first it takes time to extract, fine no problem, but for the 2nd run should only extract files that are found to be changed than ...
1
vote
0answers
29 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
1answer
419 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
28 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), ...
0
votes
1answer
4k 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
133 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
59 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
248 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 *....
4
votes
3answers
2k 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
2k 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
0answers
38 views

Restoring file after zipping, when it become binary [duplicate]

I zip my python file into file.py.gz on Linux. After that my file become something like a binary file. When I am open file with vim, on the bottom was a text " [noeol] [converted]. I want to restore ...
0
votes
1answer
1k 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
105 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 ...
1
vote
2answers
940 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: ...
1
vote
0answers
11k 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
916 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
654 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
1k 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
2k 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
150 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
69 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
399 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
392 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
476 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
167 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 ...
48
votes
3answers
29k 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 ...
19
votes
8answers
87k 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 ~/...