Well, everything went fine, but as I could see node-tar need some more
documentation.. Was kinda hard to find how to do the things in the "dark".
The results of everything was that I created a package[1] that can natively
tar.gz folders and untar.gz, so I don't have to code that all again :)

1 - https://github.com/cranic/node-tar.gz

--
Att,
Alan Hoffmeister


2012/12/6 Alan Hoffmeister <[email protected]>

> Thanks Nathan, I'm testing it right now, I'll post some feedback.
>
> --
> Att,
> Alan Hoffmeister
>
>
>
> 2012/12/5 Nathan Rajlich <[email protected]>
>
>> 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
>>
>
>

-- 
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

Reply via email to