Documention for: tar.r Created by: vincentecuye on: 4-Feb-2013 Format: text/editable Downloaded on: 19-Mar-2024 tar Author: Vincent Ecuyer Date: 4-Feb-2013 File: %tar.r ===Purpose Creates tar archives. ===Usage With one file: write/binary %test.tar tar %my-file.txt With a block of files: write/binary %test.tar tar [%my-file.txt %my-dir/my-file.bmp %just-a-dir/] You can of course gzip the tar (with %gzip.r): 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. ===Compatibility Tested with 7-Zip 9.20 on WindowsXP SP3 and bsdtar 2.6.2 on MacOSX 10.6.8, and works with both REBOL 2 (/Core & /View) and REBOL 3.