PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.unix.shell > can't open .gz file with winzip
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.unix.shell Using and programming the Unix shell.

can't open .gz file with winzip

Réponse
 
LinkBack Outils de la discussion
Vieux 09/05/2008, 22h13   #1
NeOnD
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut can't open .gz file with winzip

can't open .gz file (made with gzip in Unix) with winzip in windows.
Though I can do it with winrar.
I tried to use zip in Unix but even that didn't . Any clue?
  Réponse avec citation
Vieux 10/05/2008, 00h06   #2
Kenny McCormack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can't open .gz file with winzip

In article <e7a57bf6-8212-4d66-b883-239094e75e7d@27g2000hsf.googlegroups.com>,
NeOnD <vikasera@gmail.com> wrote:
>can't open .gz file (made with gzip in Unix) with winzip in windows.
>Though I can do it with winrar.
>I tried to use zip in Unix but even that didn't . Any clue?


Interestingly enough, I could not open my .DOC file in Excel, either.

  Réponse avec citation
Vieux 10/05/2008, 06h21   #3
Bill Marcum
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can't open .gz file with winzip

On 2008-05-09, NeOnD <vikasera@gmail.com> wrote:
>
>
> can't open .gz file (made with gzip in Unix) with winzip in windows.
> Though I can do it with winrar.
> I tried to use zip in Unix but even that didn't . Any clue?


Use gunzip for .gz files.
  Réponse avec citation
Vieux 11/05/2008, 03h57   #4
#! /shell/nerd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can't open .gz file with winzip

On May 10, 12:21 am, Bill Marcum <marcumb...@bellsouth.net> wrote:
> On 2008-05-09, NeOnD <vikas...@gmail.com> wrote:
>
>
>
> > can't open .gz file (made with gzip in Unix) with winzip in windows.
> > Though I can do it with winrar.
> > I tried to use zip in Unix but even that didn't . Any clue?

>
> Use gunzip for .gz files.


You mean gunzip for windows? Is there any? I didn't think so.
  Réponse avec citation
Vieux 11/05/2008, 03h59   #5
#! /shell/nerd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can't open .gz file with winzip

On May 10, 9:57 pm, "#! /shell/nerd" <vikas...@gmail.com> wrote:
> On May 10, 12:21 am, Bill Marcum <marcumb...@bellsouth.net> wrote:
>
> > On 2008-05-09, NeOnD <vikas...@gmail.com> wrote:

>
> > > can't open .gz file (made with gzip in Unix) with winzip in windows.
> > > Though I can do it with winrar.
> > > I tried to use zip in Unix but even that didn't . Any clue?

>
> > Use gunzip for .gz files.

>
> You mean gunzip for windows? Is there any? I didn't think so.


My concern is how to compress some file in UNIX which could be
uncompress by WINZIP specifically. As I told I can open the file with
WinRAR but I don't want to.
  Réponse avec citation
Vieux 11/05/2008, 04h31   #6
Maxwell Lol
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can't open .gz file with winzip

"#! /shell/nerd" <vikasera@gmail.com> writes:

> You mean gunzip for windows? Is there any? I didn't think so.


Think again.
Use winzip. It supports RAR, LHA, LZH, and BZ2 Files
Or use pkzipm which also supports zip files.

  Réponse avec citation
Vieux 11/05/2008, 07h08   #7
Dan Mercer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can't open .gz file with winzip

Did you happen to transfer it using ftp and forget to set the transfer to
binary?
WinZip should be able to unzip it.

Dan Mercer

"NeOnD" <vikasera@gmail.com> wrote in message
news:e7a57bf6-8212-4d66-b883-239094e75e7d@27g2000hsf.googlegroups.com...
> can't open .gz file (made with gzip in Unix) with winzip in windows.
> Though I can do it with winrar.
> I tried to use zip in Unix but even that didn't . Any clue?



  Réponse avec citation
Vieux 11/05/2008, 13h27   #8
Jack McCue
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can't open .gz file with winzip

#! /shell/nerd <vikasera@gmail.com> wrote:
> On May 10, 12:21 am, Bill Marcum <marcumb...@bellsouth.net> wrote:
>> On 2008-05-09, NeOnD <vikas...@gmail.com> wrote:

<snip>
>> > I tried to use zip in Unix but even that didn't . Any clue?

>>
>> Use gunzip for .gz files.

>
> You mean gunzip for windows? Is there any? I didn't think so.


Actually there is a port of command line tools:
http://unxutils.sourceforge.net/
http://sourceforge.net/projects/unxutils
Includes among others, tar, gzip and gunzip.

Another option is get "untarw32.exe" from the Elvis page (vi clone)
http://elvis.the-little-red-haired-g...vis/index.html
that works quite well for .tgz files

Regards
Jack

--
To announce that there must be no criticism of the president,
or that we are to stand by the president, right or wrong, is
not only unpatriotic and servile, but is morally treasonable
to the American public. -- Theodore Roosevelt
  Réponse avec citation
Vieux 12/05/2008, 10h12   #9
yorklee
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can't open .gz file with winzip

On May 10, 5:13 am, NeOnD <vikas...@gmail.com> wrote:
> can't open .gz file (made with gzip in Unix) with winzip in windows.
> Though I can do it with winrar.
> I tried to use zip in Unix but even that didn't . Any clue?


you can use 7zip, 7zip is a free and open source archive utility on
Windows platform, the official website of 7zip is http://www.7zip.com/.
  Réponse avec citation
Vieux 12/05/2008, 19h10   #10
#! /shell/nerd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can't open .gz file with winzip

On May 11, 1:08 am, "Dan Mercer" <damer...@comcast.net> wrote:
> Did you happen to transfer it using ftp and forget to set the transfer to
> binary?
> WinZip should be able to unzip it.
>
> Dan Mercer
>
> "NeOnD" <vikas...@gmail.com> wrote in message
>
> news:e7a57bf6-8212-4d66-b883-239094e75e7d@27g2000hsf.googlegroups.com...
>
> > can't open .gz file (made with gzip in Unix) with winzip in windows.
> > Though I can do it with winrar.
> > I tried to use zip in Unix but even that didn't . Any clue?


Here's the story - What I'm trying to do is write an script which will
send the Application logs using mailx (with uuencode ofcourse) from
Unix Box to my team members (Having Windows/Outlook/Winzip). Now the
thing is they find problem opening mail attachments thus sent using
WinZip. The I *tell* them to use WinRar lessly, which is annoying
for them coz most of them never used it.
Thanks to all for all the suggestions but none seems to .
  Réponse avec citation
Vieux 12/05/2008, 19h36   #11
Lew Pitcher
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can't open .gz file with winzip

In comp.unix.shell, #! /shell/nerd wrote:

> On May 11, 1:08 am, "Dan Mercer" <damer...@comcast.net> wrote:
>> Did you happen to transfer it using ftp and forget to set the transfer to
>> binary?
>> WinZip should be able to unzip it.
>>
>> Dan Mercer
>>
>> "NeOnD" <vikas...@gmail.com> wrote in message
>>
>> news:e7a57bf6-8212-4d66-b883-239094e75e7d@27g2000hsf.googlegroups.com...
>>
>> > can't open .gz file (made with gzip in Unix) with winzip in windows.
>> > Though I can do it with winrar.
>> > I tried to use zip in Unix but even that didn't . Any clue?

>
> Here's the story - What I'm trying to do is write an script which will
> send the Application logs using mailx (with uuencode ofcourse) from
> Unix Box to my team members (Having Windows/Outlook/Winzip). Now the
> thing is they find problem opening mail attachments thus sent using
> WinZip. The I *tell* them to use WinRar lessly, which is annoying
> for them coz most of them never used it.
> Thanks to all for all the suggestions but none seems to .


Why don't you just "zip" the file on the Unix side, rather than gzip it?
The zip(1) manpage says that a zipped file is compatable with PKZIP on
Windows (and I've found this to be true).

ZIP(1L)

NAME
zip, zipcloak, zipnote, zipsplit - package and compress (archive) files

SYNOPSIS
zip [-aABcdDeEfFghjklLmoqrRSTuvVwXyz!@$] [-b path] [-n suffixes]
[-t mmddyyyy] [-tt mmddyyyy] [ zipfile [ file1 file2 ...]] [-xi list]
zipcloak [-dhL] [-b path] zipfile
zipnote [-hwL] [-b path] zipfile
zipsplit [-hiLpst] [-n size] [-b path] zipfile

DESCRIPTION
zip is a compression and file packaging utility for Unix, VMS, MSDOS,
OS/2, Windows NT, Minix, Atari and Macintosh, Amiga and Acorn RISC OS.

It is analogous to a combination of the UNIX commands tar(1) and com-
press(1) and is compatible with PKZIP (Phil Katz's ZIP for MSDOS sys-
tems).

--
Lew Pitcher

Master Codewright & JOAT-in-training | Registered Linux User #112576
http://pitcher.digitalfreehold.ca/ | GPG public key available by request
---------- Slackware - Because I know what I'm doing. ------


  Réponse avec citation
Vieux 12/05/2008, 19h55   #12
Luuk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can't open .gz file with winzip

NeOnD schreef:
> can't open .gz file (made with gzip in Unix) with winzip in windows.
> Though I can do it with winrar.
> I tried to use zip in Unix but even that didn't . Any clue?


http://www.7-zip.org/
License
7-Zip is open source software. Most of the source code is under the GNU
LGPL license. The unRAR code is under a mixed license: GNU LGPL + unRAR
restrictions. Check license information here: 7-Zip license.

You can use 7-Zip on any computer, including a computer in a commercial
organization. You don't need to register or pay for 7-Zip. But you can
make a donation to support further development of 7-Zip.

The main features of 7-Zip
High compression ratio in new 7z format with LZMA compression
Supported formats:
Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR
Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM, MSI, WIM, Z, CPIO, RPM,
DEB and NSIS
For ZIP and GZIP formats, 7-Zip provides a compression ratio that is
2-10 % better than the ratio provided by PKZip and WinZip
Strong AES-256 encryption in 7z and ZIP formats
Self-extracting capability for 7z format
Integration with Windows Shell
Powerful File Manager
Powerful command line version
Plugin for FAR Manager
Localizations for 69 languages

--
Luuk
  Réponse avec citation
Vieux 12/05/2008, 21h18   #13
#! /shell/nerd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can't open .gz file with winzip

On May 12, 1:36 pm, Lew Pitcher <lpitc...@teksavvy.com> wrote:
> In comp.unix.shell, #! /shell/nerd wrote:
>
>
>
> > On May 11, 1:08 am, "Dan Mercer" <damer...@comcast.net> wrote:
> >> Did you happen to transfer it using ftp and forget to set the transfer to
> >> binary?
> >> WinZip should be able to unzip it.

>
> >> Dan Mercer

>
> >> "NeOnD" <vikas...@gmail.com> wrote in message

>
> >>news:e7a57bf6-8212-4d66-b883-239094e75e7d@27g2000hsf.googlegroups.com...

>
> >> > can't open .gz file (made with gzip in Unix) with winzip in windows.
> >> > Though I can do it with winrar.
> >> > I tried to use zip in Unix but even that didn't . Any clue?

>
> > Here's the story - What I'm trying to do is write an script which will
> > send the Application logs using mailx (with uuencode ofcourse) from
> > Unix Box to my team members (Having Windows/Outlook/Winzip). Now the
> > thing is they find problem opening mail attachments thus sent using
> > WinZip. The I *tell* them to use WinRar lessly, which is annoying
> > for them coz most of them never used it.
> > Thanks to all for all the suggestions but none seems to .

>
> Why don't you just "zip" the file on the Unix side, rather than gzip it?
> The zip(1) manpage says that a zipped file is compatable with PKZIP on
> Windows (and I've found this to be true).
>
> ZIP(1L)
>
> NAME
> zip, zipcloak, zipnote, zipsplit - package and compress (archive) files
>
> SYNOPSIS
> zip [-aABcdDeEfFghjklLmoqrRSTuvVwXyz!@$] [-b path] [-n suffixes]
> [-t mmddyyyy] [-tt mmddyyyy] [ zipfile [ file1 file2 ...]] [-xi list]
> zipcloak [-dhL] [-b path] zipfile
> zipnote [-hwL] [-b path] zipfile
> zipsplit [-hiLpst] [-n size] [-b path] zipfile
>
> DESCRIPTION
> zip is a compression and file packaging utility for Unix, VMS, MSDOS,
> OS/2, Windows NT, Minix, Atari and Macintosh, Amiga and Acorn RISC OS.
>
> It is analogous to a combination of the UNIX commands tar(1) and com-
> press(1) and is compatible with PKZIP (Phil Katz's ZIP for MSDOS sys-
> tems).
>
> --
> Lew Pitcher
>
> Master Codewright & JOAT-in-training | Registered Linux User #112576http://pitcher.digitalfreehold.ca/ | GPG public key available by request
> ---------- Slackware - Because I know what I'm doing. ------


I used zip. Thanks. The mistake was to use -c with zip command which
hanged my prompt (-c means waiting for me to put any comment for the
zip file).
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 08h35.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,17793 seconds with 21 queries