gzip question

gzip question

Post by Jeremy Ovende » Tue, 11 Sep 2001 23:53:36



Hope you can help, sorry if this seems like a lightweight question but here
goes. If there is a more appropriate ng, pls let me know!

I have a number of files on a Solaris machine (they are MS Word files). I
would like to generate a .zip (equivalent) file under Unix which can then be
transferred onto a windows machine and opened with Winzip.

I have gzip. I can create a .gz file which can be read on windows under
winzip, no problem. This works with a single ms word file though.

If I wish to create a single .gz file holding multiple ms word doc files
(and storing them individually within the zip file just as would be done
under windows), can I achieve this using gzip?

My efforts so far seem to have only achieved creating a .gz file containing
ONE file, that being (I think) the concatenation of all of the individual
files, which cannot be opened by MS Word on the PC.

If I have managed to explain my request adequately, is anyone able to help
me?

Many thanks in advance for your assistance!

cheers
Jeremy

 
 
 

gzip question

Post by Michel Bardiau » Wed, 12 Sep 2001 00:38:08



> Hope you can help, sorry if this seems like a lightweight question but here
> goes. If there is a more appropriate ng, pls let me know!

> I have a number of files on a Solaris machine (they are MS Word files). I
> would like to generate a .zip (equivalent) file under Unix which can then be
> transferred onto a windows machine and opened with Winzip.

> I have gzip. I can create a .gz file which can be read on windows under
> winzip, no problem. This works with a single ms word file though.

> If I wish to create a single .gz file holding multiple ms word doc files
> (and storing them individually within the zip file just as would be done
> under windows), can I achieve this using gzip?

> My efforts so far seem to have only achieved creating a .gz file containing
> ONE file, that being (I think) the concatenation of all of the individual
> files, which cannot be opened by MS Word on the PC.

> If I have managed to explain my request adequately, is anyone able to help
> me?

> Many thanks in advance for your assistance!

> cheers
> Jeremy

Create a tar archive holding all the files, then gzip it. Then rename
archive.tar.gz to archive.tgz. WINZIP is able to open such files.

Alternatively, you can install zip and unzip on Solaris.

Oh - and when transferring from SOlaris to Windows, if you use FTP, make
sure (as in *damn sure*) you do so in binary mode!

--
Michel Bardiaux
Peaktime Belgium S.A.  Rue Margot, 37  B-1457 Nil St Vincent
Tel : +32 10 65.44.15  Fax : +32 10 65.44.10

 
 
 

gzip question

Post by Jeremy Ovende » Wed, 12 Sep 2001 00:44:15




> > I have a number of files on a Solaris machine (they are MS Word files).
I
> > would like to generate a .zip (equivalent) file under Unix which can
then be
> > transferred onto a windows machine and opened with Winzip.

> Create a tar archive holding all the files, then gzip it. Then rename
> archive.tar.gz to archive.tgz. WINZIP is able to open such files.

> Alternatively, you can install zip and unzip on Solaris.

> Oh - and when transferring from SOlaris to Windows, if you use FTP, make
> sure (as in *damn sure*) you do so in binary mode!

> --
> Michel Bardiaux
> Peaktime Belgium S.A.  Rue Margot, 37  B-1457 Nil St Vincent
> Tel : +32 10 65.44.15  Fax : +32 10 65.44.10

Thanks for the advice. What I hadn't realised was that winzip can handle tar
files. Sorry, I really shouldn't have bothered the group with this.

cheers
Jeremy

 
 
 

gzip question

Post by Jim Agne » Wed, 12 Sep 2001 01:36:52


Relax... we've all been there...

jim





> > > I have a number of files on a Solaris machine (they are MS Word files).
> I
> > > would like to generate a .zip (equivalent) file under Unix which can
> then be
> > > transferred onto a windows machine and opened with Winzip.

> > Create a tar archive holding all the files, then gzip it. Then rename
> > archive.tar.gz to archive.tgz. WINZIP is able to open such files.

> > Alternatively, you can install zip and unzip on Solaris.

> > Oh - and when transferring from SOlaris to Windows, if you use FTP, make
> > sure (as in *damn sure*) you do so in binary mode!

> > --
> > Michel Bardiaux
> > Peaktime Belgium S.A.  Rue Margot, 37  B-1457 Nil St Vincent
> > Tel : +32 10 65.44.15  Fax : +32 10 65.44.10

> Thanks for the advice. What I hadn't realised was that winzip can handle tar
> files. Sorry, I really shouldn't have bothered the group with this.

> cheers
> Jeremy

 
 
 

gzip question

Post by Dowe Kell » Wed, 12 Sep 2001 05:22:44




Quote:>Hope you can help, sorry if this seems like a lightweight question but here
>goes. If there is a more appropriate ng, pls let me know!

>I have a number of files on a Solaris machine (they are MS Word files). I
>would like to generate a .zip (equivalent) file under Unix which can then be
>transferred onto a windows machine and opened with Winzip.

>I have gzip. I can create a .gz file which can be read on windows under
>winzip, no problem. This works with a single ms word file though.

>If I wish to create a single .gz file holding multiple ms word doc files
>(and storing them individually within the zip file just as would be done
>under windows), can I achieve this using gzip?

>My efforts so far seem to have only achieved creating a .gz file containing
>ONE file, that being (I think) the concatenation of all of the individual
>files, which cannot be opened by MS Word on the PC.

Are you sure that WinZip wont open a tarball, I believe I have opened
tar.gz archives under WinDOS using WinZip before without a problem.

--

                                Project : http://freshmeat.net/projects/vsh

 
 
 

1. Newbie tar and gzip questions...

Hi !

Here's a kind of a silly question but I gotta know..

How do I use gzip and  tar ? Sure I know what it is but I don't
know the syntax....

Let's pretend that I have a file called :

file.tar.gz

what should I do ?

Is there any software with GUI or does it have to be command-line
software ?

Thanx,


PS. I use Red Hat 5.0 on Cyrix 166.....

2. how2 debug minicom?

3. gzip question

4. creating new filing systems

5. simple tar/gzip question

6. Remote boot/install question.

7. gzip question

8. ConfigXF86

9. gzip: *.tgz: not in gzip format error?

10. Which is better: tar->gzip or gzip->tar?

11. apt-get through proxy: "gzip: stdin: not in gzip format"

12. gzip: stdin: not in gzip format