Sponsored Content
Top Forums Shell Programming and Scripting gzip compatibility with WinZip/PKZIP Post 302170643 by kanu_kanu on Tuesday 26th of February 2008 08:15:37 AM
Old 02-26-2008
gzip compatibility with WinZip/PKZIP

I have 4 files in a dir ,
A_to_Z.txt
Z_to_A.txt
1_to_20.txt
20_to_1.txt
I want to create a single gzip file which will contain these 4 text files. This gzip file should be compatible with Windows PKZIP/WinZip. I know you will suggest 'tar' command. But PKZIP/WinZip dont recognize zipped tar files seems. Please help me in this.

Thanks,
kanu_kanu
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

uncompress pkzip files

Are there any unix/linux tools that can uncompress the "pkzip" files from DOS env. Thanks . (2 Replies)
Discussion started by: Wing m. Cheng
2 Replies

2. Shell Programming and Scripting

PKZIP on AIX

Hi, I have a situation where I need to zip files(using pkzip) and send it to vendor, the problem is we are on AIX 5L and when I do man pkzip it does not show anything I assume that it is not installed, but I read some where that it would be istalled but not enabled is it right if yes could... (3 Replies)
Discussion started by: mgirinath
3 Replies

3. Shell Programming and Scripting

Calling Winzip from perl script

Hi, I would like to invoke "Winzip" utility from a perl script, input the name of zip file and provide output path for unzipped files. Any pointers will be appreciated. Thanks (5 Replies)
Discussion started by: MobileUser
5 Replies

4. HP-UX

uncompress of PKZIP files on HPUX

Hi All, is there any command to unzip the compressed files compressed using PKZIP on HP-UX. We dont have unzip. and gunzip or compress commands are not working. is there any other to do this? Thank you very much for the help. Regards, Srinivas (3 Replies)
Discussion started by: srinivas_paluku
3 Replies

5. UNIX for Dummies Questions & Answers

winzip compatible command

Dear friends, I m new to Unix, can anybody please guide me on how to zip and password protect a normal text (or any file) in unix prompt? (1 Reply)
Discussion started by: topgear1000cc
1 Replies

6. UNIX for Dummies Questions & Answers

How to open WinZip file in linux

Hi i am an fresh engineer working in a Embedding company and i am new to linux so any one help me to teach or tell how to open a WinZip file in linux as i use gunzip but hte file suffix is not gz so can any one healp me... urs ... (2 Replies)
Discussion started by: wagmare
2 Replies

7. Shell Programming and Scripting

What is the code for compressing files using pkzip ?

hi everyone , Can someone provide me a shell program to compress and decompress files using gzip , i dont know anything in shell programming , this code is a part of my project. So can someone help with me the code ? (2 Replies)
Discussion started by: mig23
2 Replies

8. Shell Programming and Scripting

Need help with PKZIP

Hi, I have .tar file whose size is > 2 GB, when i tries to zip this file sometimes it compresses the file successfully, sometime it fails. How can i ensure that this file compresses successfully always? One important point i have notice, if file size is > 2GB i am getting this problem, if... (2 Replies)
Discussion started by: shantoshkumar
2 Replies

9. AIX

unzip pkzip for AIX

Attached unzip pkzip bzip for AIX How to install it 1) download the attachment 2) ftp it to AIX machines in binary mode ftp it to /tmp/unzip 3) cd /tmp/unzip 4) inutoc . 5) smitty install_all 6) select source as ==> . 7) Select the packages by pressing F4 or ESC+4 8)... (0 Replies)
Discussion started by: filosophizer
0 Replies

10. UNIX for Advanced & Expert Users

gzip vs pipe gzip: produce different file size

Hi All, I have a random test file: test.txt, size: 146 $ ll test.txt $ 146 test.txt Take 1: $ cat test.txt | gzip > test.txt.gz $ ll test.txt.gz $ 124 test.txt.gz Take 2: $ gzip test.txt $ ll test.txt.gz $ 133 test.txt.gz As you can see, gzipping a file and piping into gzip... (1 Reply)
Discussion started by: hanfresco
1 Replies
GZFORCE(1)						      General Commands Manual							GZFORCE(1)

NAME
gzforce - force a '.gz' extension on all gzip files SYNOPSIS
gzforce [ name ... ] DESCRIPTION
gzforce forces a .gz extension on all gzip files so that gzip will not compress them twice. This can be useful for files with names trun- cated after a file transfer. On systems with a 14 char limitation on file names, the original name is truncated to make room for the .gz suffix. For example, 12345678901234 is renamed to 12345678901.gz. A file name such as foo.tgz is left intact. SEE ALSO
gzip(1), gznew(1), gzmore(1), gzgrep(1), gzdiff(1), gzexe(1) ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWgzip | +--------------------+-----------------+ |Interface Stability | External | +--------------------+-----------------+ NOTES
Source for gzip is available in the SUNWgzipS package. GZFORCE(1)
All times are GMT -4. The time now is 11:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy