Well you could use node-tar[0] to create a tarball of the directory, and then use the zlib[1] module to compress the tarball using gzip. Essentially creating a .tar.gz in the end.
[0]: https://github.com/isaacs/node-tar [1]: http://nodejs.org/docs/latest/api/zlib.html On Wed, Dec 5, 2012 at 5:12 PM, Alan Hoffmeister <[email protected]> wrote: > Hello there, > > I'm working on a backup tool using Node.js, but I couldn't find any native > package that work with hight compression algos and folder compression. > > I need this because the script will run on Windows and Unix systems. > My preferences are xz (isn't it the official name for lzma2?), lzma, bzip2 > and gzip. > > Thanks! > -- > Att, > Alan Hoffmeister > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
