Questions tagged [unzip]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
74 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 ...
user avatar
  • 1
0 votes
0 answers
12 views

Is it possible to extract a file and choose final file name? (on macOs Monterey)

Most zip extraction software gives the option to select the location but not the actual file name. I am trying to extract File.zip (containing File.pdf) to > Renamed.pdf directly. I want to make ...
user avatar
0 votes
0 answers
27 views

Unzipping lots of 7z files in one go on Mac

Hoping for some help. Short question - how do I open thousands of password protected 7z files in one go that are spread over hundreds of folders on a NAS? Is there a script/command that I can use to ...
user avatar
0 votes
1 answer
459 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, ...
user avatar
  • 101
3 votes
0 answers
134 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 ...
user avatar
  • 571
0 votes
1 answer
303 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 ...
user avatar
  • 3
0 votes
2 answers
116 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 ...
user avatar
0 votes
1 answer
70 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
user avatar
0 votes
0 answers
41 views

zip archive not asking for password while unzipping but 7z file does, other files like 7z?

Zip password protected file is not asking password while opening, we can view internal file but this is not the same case with 7z file. while opening 7z file it asking for password.I want to know ...
user avatar
2 votes
0 answers
102 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 ...
user avatar
1 vote
1 answer
581 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/...
user avatar
  • 135
0 votes
2 answers
373 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 ...
user avatar
0 votes
1 answer
2k views

Unable to unzip multipart zip file

When I am unzipping a combined multi-part zip file, I am getting error : error: invalid zip file with overlapped components (possible zip bomb) Initially I thought maybe because of the special ...
user avatar
1 vote
0 answers
306 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 ...
user avatar
1 vote
0 answers
113 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 ...
user avatar
5 votes
1 answer
216 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 ...
user avatar
1 vote
1 answer
79 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 -------- --...
user avatar
  • 113
1 vote
2 answers
339 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 ...
user avatar
1 vote
1 answer
574 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 ...
user avatar
1 vote
0 answers
21 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 ...
user avatar
  • 11
0 votes
1 answer
89 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 ...
user avatar
  • 15.9k
0 votes
1 answer
2k 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 ...
user avatar
  • 451
0 votes
0 answers
51 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.
user avatar
  • 101
1 vote
1 answer
7k 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 ...
user avatar
  • 13
0 votes
0 answers
273 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 ...
user avatar
  • 1
0 votes
0 answers
28 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 ...
user avatar
38 votes
1 answer
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 ...
user avatar
  • 457
0 votes
1 answer
737 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: ...
user avatar
  • 431
0 votes
1 answer
3k 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 ...
user avatar
2 votes
1 answer
4k 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 ...
user avatar
1 vote
0 answers
212 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 ...
user avatar
3 votes
2 answers
7k 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 ...
user avatar
  • 45
1 vote
0 answers
34 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), ...
user avatar
3 votes
2 answers
23k 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, ...
user avatar
0 votes
2 answers
702 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 ...
user avatar
1 vote
1 answer
111 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 ...
user avatar
  • 1,263
0 votes
1 answer
883 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 *....
user avatar
5 votes
3 answers
6k 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.
user avatar
1 vote
1 answer
7k 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 ...
user avatar
  • 35
1 vote
1 answer
5k 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 ...
user avatar
1 vote
0 answers
129 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 ...
user avatar
2 votes
2 answers
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: ...
user avatar
  • 2,405
9 votes
1 answer
41k 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?
user avatar
2 votes
2 answers
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 ...
user avatar
0 votes
0 answers
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 ...
user avatar
  • 101
1 vote
1 answer
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 :...
user avatar
  • 175
2 votes
1 answer
4k 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 ...
user avatar
-1 votes
1 answer
248 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’(...
user avatar
2 votes
1 answer
421 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. ...
user avatar
0 votes
1 answer
583 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 ...
user avatar
  • 1,175