|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
"#! /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. |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
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? |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
#! /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 |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
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/. |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
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 . |
|
|
|
#11 |
|
Messages: n/a
Hébergeur: |
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. ------ |
|
|
|
#12 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#13 |
|
Messages: n/a
Hébergeur: |
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). |
|
![]() |
| Outils de la discussion | |
|
|