home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 9 Archive
/
09-Archive.zip
/
targz12d.zip
/
TarGzipPm
/
ReadMe.epm
< prev
next >
Wrap
Text File
|
1998-10-02
|
6KB
|
165 lines
TarGz-Pm V1.2D. Updated 3 September 98
Welcome to the Seventh 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?
This version has lots of new features.... invcluding
A) The ability to handle different tar formats, now including
Tar.gz
Tgz
*.Z
*.Tar
B) Cdrom should no longs cause targzip to hang, as the attributes are changed
when the file is copied to your local drive
C) TarGzipPm now lists the files of newly created Archives
d) Aut delete of temp dir works now, in most cases... still working on
this
See history.epm for more info...
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 code remains 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, *.tar, *.Z Files
Can Create new directories to unarchive into
Lists the contents of tar.gz files, which can be viewed via an editor or through
Association
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
Optional
If you have a Lynux partition you can also get a driver so OS/2 can view
and write to it...
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\TarGzipPm.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, *.tar, *.Z, and *.tgz
That's it you can now run TarGzPm from both your desktop icon or *.tar.gz,*Z,*.tgz etc
data files....
(see Coming Attractions )
Warning\ Know Problems
When creating new directories you should only make one at a time, no slashes should be
included, or 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)
Now if you include a \ you will hear a beep and the accept button becomes disabled
I have added support to view files of any sort as long as it has an associated
program. Note to have TarGzipPm delete temp files on exit,
you must close it using the exit button
Tar.exe does not seem to handle Extended Attributes very well, if you
open test.tar.gz which contains this file, you will notice that
in epm the markings have gone... if enough people say they want EA support
I will try add it....... in the next release!
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
If enough people ask, I will add extended support for EA's.....Also at present the
different file types work via their extension eg a *.Z file is deemed to be a Tar
compressed file... and a tar.gz file a tar file compresed with gzip.... I will in the
distent future try to get this inofrmation via the filling system...... but there seems
to be a bug in Rexx and it does not always work
one person asked if it would be possible to inlcude a timer mechanism to back up
files....here again we have the EA problem, though again if enough people ask, I will
work on it? Though this program was not really meant as a back up took, but rather a
way for those OS/2 Users with Unix Partitions, to be able to examine unix files in tar.gz
format etc
Installation prog (PM Rexx using DrDialog or command line) still to come
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