recursive-unzipper's People
recursive-unzipper's Issues
feat: rar support
It would be good to support the rar archive format. It isn't common but it does come up.
feat: make -f optional
The program has one required argument, a file to unzip. recursive-unzipper myfile.tgz
should do something useful.
But the program requires -f before the filename. This adds verbosity with little benefit.
Feature request: if -f is omitted, assume the remaining parameter is a file.
Feature request: support for jar files
A complex bundle of compressed files will often have jar files in it. If recursive-unzipper knew how to unzip them, it would be helpful.
Z_BUF_ERROR
Thanks for this handy thing. Thought you'd want to know that I'm getting a fatal error on an archive:
$ recursive-unzipper -f 1591239073.zip
{ file: 'UC-One_Collaborate_WIN-3.9.11-1591239073.zip' }
[15:43:50.074] INFO (recursive-unzipper): Extracting zip [UC-One_Collaborate_WIN-3.9.11-1591239073.zip]
node:events:505
throw er; // Unhandled 'error' event
^
Error: unexpected end of file
at Zlib.zlibOnError [as onerror] (node:zlib:189:17)
Emitted 'error' event on DuplexWrapper instance at:
at emitErrorNT (node:internal/streams/destroy:157:8)
at errorOrDestroy (node:internal/streams/destroy:220:7)
at DuplexWrapper.onerror (node:internal/streams/readable:771:9)
at DuplexWrapper.emit (node:events:527:28)
at Parse.<anonymous> (/Users/lucasgonze/.nvm/versions/node/v16.15.0/lib/node_modules/recursive-unzipper/node_modules/duplexer2/index.js:45:12)
at Parse.emit (node:events:527:28)
at InflateRaw.<anonymous> (/Users/lucasgonze/.nvm/versions/node/v16.15.0/lib/node_modules/recursive-unzipper/node_modules/unzipper/lib/parse.js:188:46)
at InflateRaw.emit (node:events:527:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -5,
code: 'Z_BUF_ERROR'
}
It's totally possible there is a corrupt sub-archive in this big bundle. Ideally the program would report it and move on to the next unzippable thing.
The archive file I'm using is proprietary and can't be shared. Sorry. I realize that makes this report not so useful.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.