From: Austin Ziegler Date: 2004-09-07T06:26:34+09:00 Subject: Re: ruby archiver On Tue, 7 Sep 2004 04:25:10 +0900, Martin DeMello wrote: > Is there any pure-ruby way to pack multiple files into a single file, > and unpack them later? Compression is optional. As a matter of fact, you can use either Jamis Buck's tar.rb or my forthcoming Archive::Tar::Minitar based on work by Mauricio Fernandez (aka batsman). I'm putting some finishing touches on documentation and the command line utility, but: C:\home\Projects\minitar>ruby bin/minitar help commands The commands known to minitar are: minitar create Creates a new tarfile. minitar extract Extracts files from a tarfile. minitar list Lists files in the tarfile. All commands accept the options --verbose and --progress, which are mutually exclusive. In "minitar list", --progress means the same as --verbose. --verbose, -V Performs the requested command verbosely. --progress, -P Shows a progress bar, if appropriate, for the action being performed. C:\home\Projects\minitar>ruby bin/minitar --progress create tests.tar tests tests.tar: 100% |oooooooooooooooooooooooooooooooo| Time: 00:00:00 C:\home\Projects\minitar>ruby bin/minitar ls -l tests.tar drwxr-xr-x 0 0 Sep 06 16:38 tests -rw-r--r-- 38 19749 Sep 06 16:38 tests/tc_tar.rb -rw-r--r-- 0 477 Aug 27 14:14 tests/testall.rb C:\home\Projects\minitar>ruby bin/minitar --progress extract tests.tar -o tests2 tests.tar: 100% |oooooooooooooooooooooooooooooooooooooooooo| Time: 00:00:00 -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca : as of this email, I have [ 5 ] Gmail invitations