Giter Site home page Giter Site logo

Adding files to existing archive about bit7z HOT 2 CLOSED

rikyoz avatar rikyoz commented on May 18, 2024
Adding files to existing archive

from bit7z.

Comments (2)

hcaihao avatar hcaihao commented on May 18, 2024 1

@rikyoz thanks for your work! I really like bit7z!

from bit7z.

rikyoz avatar rikyoz commented on May 18, 2024

Hi! First of all, sorry for the late response and thanks for using bit7z!

Does this library support adding files to an existing archive?

No, at the moment the library does not support updating already existing archives.
The class BitCompressor, specifically, is meant to be used for creating different output archives.
However it is a functionality that, sooner or later, I would like to add to the library.
The most difficult problems that I encounter when adding new functionalities like this is to design a simple and easy to use API and, above all, find the way to exploit the 7z to implement it (due to the poor documentation).
I'm trying to solve all these issues and come up with a new bit7z version as soon as possible!

If not, is there some other way of doing what I'm after using this library (i.e add a list of files, then add a secondary list of files to the same archive)?

If updating is not strictly mandatory, you could use the compress function of BitCompressor, which takes a list of both files and directories and compresses them all together (directories are compressed recursively).
I hope that this fits your usage requirements!

from bit7z.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.