Operating System - Linux
1752866 Members
3804 Online
108791 Solutions
New Discussion юеВ

Re: Unable to zip or jar 8GB file

 
mjsunil
Advisor

Unable to zip or jar 8GB file

Hi, we are unable to zip 8GB dbf files or jar cvf in solaris.Anybody encountered similar problem before.
Rdgs-mjs
6 REPLIES 6
Marco Di Ianni
Frequent Advisor

Re: Unable to zip or jar 8GB file

The tar command is limited for create 2 GB backup file.

Use fbackup-frecover or dd.

Rick Garland
Honored Contributor

Re: Unable to zip or jar 8GB file

Get the GNU tools - the 2GB limit does not apply for the GNU tools
Muthukumar_5
Honored Contributor

Re: Unable to zip or jar 8GB file

We can not use tar to archive files over 2GB margin.

See this discussion for this requirement,
http://www.linuxquestions.org/questions/archive/14/2002/07/2/25216
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Unable to zip or jar 8GB file

An effective document for this is over,
http://www.suse.de/~aj/linux_lfs.html
Easy to suggest when don't know about the problem!
Alexander M. Ermes
Honored Contributor

Re: Unable to zip or jar 8GB file

Hi there.
We have had this problem with Oracle export files larger than 2GB to zip directly through a pipe ( HP-UX ).
What we do as a workaround :
to zip :
cat filename | gzip > filename.zip

to unzip :
cat filename.zip | gunzip > filename

Same with tar or so.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Ten Ox
New Member

Re: Unable to zip or jar 8GB file

>cat filename | gzip > filename.zip
>to unzip :
>cat filename.zip | gunzip > filename


UUOC:
Is cat absolutely necessary?

gzip < filename > filename.zip
gunzip < filename.zip > filename

same with tar, or any other cli program that
can output to std. out or (usually) to file.

/ts
"Problem exists between keyboard and chair...." BOFH