Zorba the Hutt (zorbathut) wrote,
Zorba the Hutt
zorbathut

If you're not a coder, you can probably ignore the rest of this post.

I'm writing this backup program. I need to compress files together into some archive format or another (.zip, .tar.bz2, .tgz, .7z, whatever.) The problem is that I need to give it the path names and data directly - I don't want to have to create the hierarchy on disk and then compress that. The only solution I've found so far that's even vaguely palatable is to hand-write a .tar generator and feed that though zlib or libbzip2. I'd really rather not write my own .tar files, but if I have to, I will.

Any better suggestions?

Any handy .zip libraries you know about?

I've looked and have completely and totally failed to find any. It's quite depressing. :(
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 5 comments