Questions tagged [unzip]

Unzipping is uncompressing ZIP archives, the opposite of zipping.

2029 questions
0
votes
1 answer

seeing the contents of a zipped file which contains square brackets

x=`unzip -l "$i" | grep /config.xml | tail -1 | sed -e "s/.*:[0-9][0-9] *//"` content=`unzip -c "$i" "$x" | DO MORE STUFF HERE I am having a problem with the above command whenever x outputs a string with square brackets. For example, let's say…
Shawn Dibble
  • 177
  • 2
  • 15
0
votes
1 answer

Using Node Module With React

I think, because I'm so new to Node, I'm not quite understanding how to use an NPM package with my React project running on Node. Just a quick explanation: I have a React component that uploads a zip file through Node server scripts. This part is…
Cmaxster
  • 1,035
  • 2
  • 11
  • 18
0
votes
1 answer

How to unzip the same zip file multiple times?

I am developing a zip extractor app for which if i unzip multiple times the same zip file it should extract like myfile-1, myfile-2, myfile-3 something like this . example : there is sampleproject.zip in my desktop when i unzip it should be like…
premkolindala
  • 161
  • 10
0
votes
4 answers

how to pipe from find to unzip to grep

find . -name "*.ooutline" -print0 | xargs -0 -n1 unzip -c | grep -m 10 -Eo ".{0,20}$1.{0,20}" ".ooutline' files are zipped OmniOutliner files. I want to find them, including recursively in subdirectories; pipe the names to unzip; have unzip unzip…
johnrubythecat
  • 1,003
  • 1
  • 13
  • 31
0
votes
1 answer

file not found error when unzipping

i have about hundred .jpg files, i uploaded it as .zip to this link and then i'm trying to download it and unzip it in my application,so no problem with downloading but i have the error shown in the picture below when trying to unzip the file using…
evals
  • 1,750
  • 2
  • 18
  • 28
0
votes
0 answers

PHP - How I can extract 7z extension

I am wondering if PHP can extract the *.7z extension. I have searched a lot about it and I all what I see is *.zip, *.rar etc... but not 7z. Here is the code that I have tried. ZipArchive(); is not supporting 7z. $zip = new ZipArchive(); $x =…
Profile
  • 23
  • 1
  • 7
0
votes
0 answers

Composer install force download as tar instead of zip

We are using envoyer for laravel project. Now every deploy takes almost 5 minutes. About 40s to download and unpack a new release. The install composer dependencies takes about 150s. We figured out that it is actually loading it from the cache which…
Graham
  • 1,850
  • 4
  • 21
  • 41
0
votes
2 answers

Unzip a .zip file to a specific folder using :zip module

I'm trying to unzip a .zip file to a specific folder path: http://erlang.org/doc/man/zip.html#unzip-1 :zip.unzip(zip_path, {cwd: "/tmp/test-extracted/"}) ** (SyntaxError) test.exs:18: syntax error before: cwd (elixir) lib/code.ex:677:…
Sergio Tapia
  • 9,173
  • 12
  • 35
  • 59
0
votes
2 answers

Recursive Unzip From Linux Shell?

I have a file named 'mainZip.zip'' This file ('mainZip.zip'') contains two files: 'textFile.txt' 'secondaryZip.zip' 'secondaryZip.zip' file contains two files as well: 'apple.bin' 'cat.jpg' Can you advise how to unzip 'cat.jpg' in one bash…
user3262424
  • 7,223
  • 16
  • 54
  • 84
0
votes
1 answer

Unzipping files in SAS

I was wondering if you could help me understand a piece of SAS code that I found to unzip files from SAS in UNIX? I found this code to zip the file, but I am unsure how to unzip the file. /*x gunzip…
Yvonne
  • 1
  • 1
  • 1
0
votes
0 answers

Convert .cbr file to .zip file in php

I want to extract a .cbr archive (digital comics format) content with a php script. I searched for a php method to unzip archive and the simpliest I found is the ZipArchive. I know (maybe is incorrect) that the way for converting from cbr to zip is…
0
votes
1 answer

cmake and how to avoid unzip an archive multiple times

I am using the following cmake command to extract a zip file ${CMAKE_COMMAND} -E tar xkf This unzip the file as it is. I'd like to AVOID unzipping when the file has been already unzipped. How can I do that? It seems that there is no option for…
Abruzzo Forte e Gentile
  • 14,423
  • 28
  • 99
  • 173
0
votes
1 answer

Pentaho pdi how to get xml from many tgz

I would like to get XML files from many .tgz. I already try this tp read one tgz file : folder/file | regex tgz:C:\tmp\file_01.tgz! | .*\.xml But in my case, i don't know how many .tgz files there can be. I try something like…
0
votes
1 answer

Downloading a zip into a file and unzipping it using nodejs - how to detect when the download is complete and it is safe to unzip

I need to write two separate components - one is a downloader which takes a file path(or a FILE DESCRIPTOR whichever seems better) and url and downloads whatever file is present in that url into the file path. The code that I have written so far for…
akshita007
  • 549
  • 1
  • 9
  • 15
0
votes
1 answer

Unzip files and folder in Cordova

I'm currently developing a Cordova app. I'm trying to unzip a zip file. I used the cordova-plugin-zip to make this possible. However my zip file is mixed with folder and files. When I tried to unzip it, it only extract the files and the folders are…
Rich
  • 3,928
  • 4
  • 37
  • 66
1 2 3
99
100