[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Using the -N options in gzip
From: |
Respass, Clarence (EHQ) |
Subject: |
RE: Using the -N options in gzip |
Date: |
Thu, 18 Feb 2010 09:25:18 -0600 |
If I unzip the file on the VMS system, the extension is maintained.
Clarence Respass,
Software Engineer - HDS
Express Scripts, Inc.
Work: (314) 684-7150, x347150
Cell: (412) 657-1281
-----Original Message-----
From: Jim Meyering [mailto:address@hidden
Sent: Thursday, February 18, 2010 9:01 AM
To: Respass, Clarence (EHQ)
Cc: address@hidden
Subject: Re: Using the -N options in gzip
Respass, Clarence (EHQ) wrote:
> I zip a file using "Info-ZIP" on a HP-VMS system. I then use perl to ftp the
> files to a Unix system. I using gzip with the -N option, but my files are
> always decompressed without the original file extension.
>
> Example:
>
> VMS system:
>
> Archive: PH$DEVL:[COM]TRYFTP.GZ;1
> Length Date Time Name
> --------- ---------- ----- ----
> 2082 02-08-2010 11:03 tryftp.txt
> --------- -------
> 2082 1 file
>
> Unix system:
>
> $ gzip -dNv tryftp.gz
> tryftp.gz: 50.8% -- replaced with tryftp
Perhaps info-ZIP does not record the original name.
If the compressed input lacks the original name, it can't very well use it.