Sponsored Content
Full Discussion: Need help with PKZIP
Top Forums Shell Programming and Scripting Need help with PKZIP Post 302397727 by shantoshkumar on Tuesday 23rd of February 2010 02:45:50 AM
Old 02-23-2010
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 filesize is less than 2 GB there is no problem.

Code:
 
/software/pkzip251/pkzip25 -add -password=MyPwd ${TGTDATADIR}${TARFILE}.${name_mth}${cur_yr} ${TGTDATADIR}${TARFILE}.${name_mth}${cur_yr}.tar


Last edited by zaxxon; 02-23-2010 at 04:41 AM.. Reason: use code tags please, ty
 

6 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. 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

4. Shell Programming and Scripting

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... (3 Replies)
Discussion started by: kanu_kanu
3 Replies

5. 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

6. 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
BF_TAR(1)						    Bogofilter Reference Manual 						 BF_TAR(1)

NAME
bf_tar - shell script to write a tar file of a bogofilter directory to stdout SYNOPSIS
bf_tar [-r] [-R] bogofilter_directory DESCRIPTION
bf_tar bundles a bogofilter working directory in tar format and copies it to standard output (your console, or where you redirect it, see EXAMPLES below). OPTIONS
The -r option causes bf_tar to remove inactive log files after the archive has been written successfully. The default is to leave log files. The -R option causes bf_tar to remove inactive log files before the archive is written. This may reduce chances that the resulting archive is recoverable should it become damaged. The archive may be smaller though. The default is to leave log files. EXIT STATUS
The script exits with status code 0 if everything went well, and nonzero if it encountered trouble. EXAMPLES
o bf_tar ~/.bogofilter > outfile.tar Writes a standard .tar file containing the essential files from ~/.bogofilter to outfile.tar. o bf_tar ~/.bogofilter | gzip -9 -c > outfile.tar.gz Writes a gzipped .tar.gz file containing the essential files from ~/.bogofilter to outfile.tar.gz. o bf_tar `pwd`/mydirectory > outfile.tar Prepend $(pwd)/ or `pwd`/ if you want to specify an absolute path instead of a relative path. NOTES
This script is meant for use with Berkeley DB based bogofilter versions. This script requires a SUSv2 compliant pax utility. This script expects a SUSv2 compliant shell. Solaris systems should have the SUNWxcu4 package installed (when bogofilter is configured) so that /usr/xpg4/bin/sh can be used. AUTHORS
Matthias Andree Bogofilter 03/15/2010 BF_TAR(1)
All times are GMT -4. The time now is 02:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy