home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 9 Archive
/
09-Archive.zip
/
targ109b.zip
/
TarGzipPm
/
ReadMe.epm
< prev
next >
Wrap
Text File
|
1998-08-22
|
5KB
|
132 lines
TarGz-Pm V1.09B.
Welcome to the Sixth release of TarGzPm. I hope you find this 'email ware'
useful. If you wander where the numbers go between releases
1.02f to this one, its because I give each update a new number and not all of
these are released until they are stable?
You must be warned that this is a very early beta version. Since tar and gzip actually
changes the file being unarchived, this program only works on copies of the file made, so
your original *.tar.gz stay intact . which it then cleans up on completion....So the
temporary files are deleted.
While this program is 'email ware' it is copy writed, and is the proerty
of Virtual Publication 1998..... Virtual publications take no responcibility for any
adverse effect, caused by this program....
What it Does
Creates Archives with Tar.gz extension
Unarchives *.tar.gz, *.tgz Files
Can Create new directories to unarchive into
System Requirements
OS/2 version 2 +
Rexx installed with OS/2 Object or classic
Tar.exe and Gzip.exe must be on your path to use this program, or you
will get a warning Dialog which closes the prog
Installing it?
I haven't done an install prog yet, it will come.
After you have unziped the file simply Drag a program object
onto you're desktop and fill in the fields as follows, lets say you
have unziped TarGzPm to your H directory
Path and file name: I:\TARGZPM\TARGZ-PM.EXE
Parameter: %* (This allows for drag and drop, point and click etc)
Working Dir: I:\TARGZPM
Then go the the Association tab and Add *.tar.gz, and *.tgz
That's it you can now run TarGzPm from both your desktop icon or *.tar.gz
data files.... Though, Do not attempt to run more than one copy at a time
(see Coming Attractions )
Warning
When creating new directories you should only make one at a time, no slashes should be
included, or it will result in errors. You will be warned if the directory you are
trying to Create exists, and the accept button will become disables. To make recursive
new directories, simply make one at a time and then press the accept dir, then press the
NewDir button again ... (it will make more sense when you see it going)
Why I Made This Prog
Having come to terms with zip files and purchasing RPF's Great PM zip/unzip prog,
I found my self with a *.tar.gz file (though these files some times have the
Suffix *.Z-see limitations) . After some searching I found that there was
GNU programs available to unarchive this type of file... However, unlike a normal zip file
*.tar.gz work in two stages.
The Tar program basically collects files and joins them into one file..
gzip is a method of compressing, though you only compress one file, hence the need for tar
as well?
One of the reasons why I decided to make a front end to to these archives, was due to the
nature of the syntax..... (it not like unzip.exe where you can simply go unzip File.zip)
you have to specify a number of parameters eg +File MyFile.Tar, for example, or it
will complain thus:
"tar: can't open tape.out: No such file or directory"
need I say more! I started out by producing a simple command Rexx file which got the
file to unarchive and the directory and passed it to tar and gzip. I then thought it might
be a good idea to give it a PM interface. Since I am new to programming I have found this
a useful "learning exercise.....") One of the problems I have found is that unlike zip
you not only have a two stage procedure to go though, but also file names that change
during the process. When Taring a directory its not that hard.. it is simply a matter of
adding the extension to the variable being used, eg
Tar +file Filename +Directory SourceSelected
TarGzfile =Filename||'.tar'.
and the same to add the gz extension. So this is what this program does
Tars and Gzips directories(sub-directories), you can specify the directory/sub dir to
tar, you can specify what dir to unarchive into.
Coming Attraction
List box, using the '+to-Stout' option to list the content of archive being
archived/un-archived. This will need a Temp dir (this it might take some time, sorry!)
I am working on this next..
Though I am moving to RXQUEUE instead, if anone wants
to help with this, please let me know
More error checking with the Create Dir Dialog to ensure no '/' are not included
Moore Error checking particularly in terms of Bad Tar.gz files, at present, if you try to
unarchive a bad file, you will find the File still in *.tar.gz or *.tar depending at
which stage it goes wrong. (or an empty dir if my code works as it should)
still needs implementing, but am working on it
Installation prog (PM Rexx using DrDialog or command line)
Help is provided through messages in the main Window, which basically tells you what each
control does. If you have any further suggestion please let me know, or if you encounter
any problems.......
Thanks and Acknowledgements to the following for their help and support, without which
this project would still be an ideas??
Kia Evers, Ian and V.Kazimirchik
Address:
http://users.powernet.vpub
Email Asuri@vpub.powernet.co.uk