#: 4651 S12/OS9/68000 (OSK)
26-Jun-90 09:19:30
Sb: #4572-TOP Munich Release 2.0
Fm: Pete Lyall 76703,4230
To: Ed Gresick 76576,3312 (X)
Steve -
In the event nobody's given you a solution for packaging and compressing
groups of files with subdirectories, the best bet is:
1) use 'tar' to create a tar file of the files/dirs
2) compress it using 'compress'
So, if you wanted to package and send all the files in /dd/TOP as one unit,
you'd do something like this:
chd /dd/TOP
tar cvf /dd/tmp/topstuff.tar .
That would make a unix compatible TAR file called topstuff.tar in the directory
/dd/tmp (the TAR arguments 'cvf' tell it to 'c'reate a new tar file,
'v'erbosely show all the files being stuffed into it, and to use 'f'ile
/dd/tmp/topstuff.tar as the repository.) To break it out, you'd do the inverse:
chd [directory of your choice]; then tar xvf /dd/tmp/topstuff.tar ('x'tract).
I'd also recommend compressing the files using the compress command in DL9.
It's a unix compatible LZ compression tool that uses a 12 bit compression
scheme (i.e. if creating a file on unix for later decompression under OS9, you
should use 'compress -b12 filename' to keep unix from using a 16 biy
compression map). Anyway, under OS9 you'd just type: compress topstuff.tar.
This would create a called topstuff.tar.Z. You would upload that file.
To get it exploded back to normal, you'd just 'compress -d topstuff.tar.z', and
then use 'tar xvf topstuff.tar' to break it all back out.
Pete
P.S. I'll make sure that we have a copy of TAR in DL9 if we don't already.
|