Thursday, 29 November 2012


You know that Rebol compress function compress data, but you can manipulate also TAR.GZ archives and ZIP archives.
For TAR.GZ archives there are the following script:
They can be used this way:
do %tar.r
do %gzip.r
write/binary %test.tgz gzip tar [%some-files ...]

Resulting archive is usually smaller than a *.zip of the same files
To decompress use  gunzip.r script

For ZIP archives there is the following script:
usage: zip/deep [ %readme.txt "An example" %my-directory/ ]
to unzip unzip

If you want to only explore a zip file without decompress it, you can use this script:

No comments:

Post a Comment