03-15-2003
Do you know what version of gunzip it is? Maybe it's an older version that couldn't deal with large files... you can try here for newer versions:
ftp://alpha.gnu.org/gnu/gzip/
You could also try:
gzcat filename.gz > filename at the prompt .. I pulled that suggestion off another message board, but I don't know for sure if it works or not...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
can't unzip a gz file in TurboLinux 7.0
when i'm trying this
gunzip filename.tar.gz it always says not in gzip format
what should I do...please help me (4 Replies)
Discussion started by: CreamHarry
4 Replies
2. UNIX for Dummies Questions & Answers
While trying to gunzip afile I get the following error message
ls -l UK_US_02310.dat.gz
-rwxrwxrwx 1 imis abint 348854527 Jan 8 00:17 UK_US_02310.dat.gz
gunzip UK_US_02310.dat.gz
gunzip: UK_US_02310.dat.gz: invalid compressed data--format violated
I can gzcat the file and pipe to... (3 Replies)
Discussion started by: mccoubreyr
3 Replies
3. HP-UX
Good day,
Recently I zipped an oracle export file task123.dmp using gzip. And now I am trying to unzip it using gunzip task123.dmp.gz but am unable to do so. It keeps on giving the following error;
> gunzip task123.dmp.gz
gunzip: task123.dmp: File too large
The task123.dmp.gz file... (3 Replies)
Discussion started by: Keyser Soze
3 Replies
4. UNIX for Dummies Questions & Answers
unzip test.zip ==> This uncompresses and keeps the original zip file.
gunzip test.gz ==> Removes the .gz file after uncompressing.
Is there any switch to make the .gz file available after uncompression.
Thanx in advance. (3 Replies)
Discussion started by: devs
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am getting this error
gunzip file1.tar.Z
gunzip: file1.tar.Z: not in gzip format
Any clues? This goes bad only in some recent installations of ids (5 Replies)
Discussion started by: eagercyber
5 Replies
6. Shell Programming and Scripting
Hi All,
I am using UNIX command to unzip the files
gzip -d9 DW_*.gz
The Xmls are compressed using gzip and it is received in the .gz format at UNIX box which need to be uncompressed.
The above command is working fine for 400 compressed xmls(.gz files) but when the count becomes 401 or more i... (7 Replies)
Discussion started by: Codesearcher
7 Replies
7. UNIX for Dummies Questions & Answers
I have a zip file as a.zip and it contains 1m xml files. like a1.xml, a2.xml....
The size is also very big nearly 1GB. I want to extract only a123.xml.
Can any one help how can I do this? (1 Reply)
Discussion started by: siba.s.nayak
1 Replies
8. Shell Programming and Scripting
Hi All,
I have a file "HOTEL_INFO.zip" and getting the below errors:
server1:/home/arun# gunzip -S .zip HOTEL_INFO.zip
gunzip: HOTEL_INFO.zip: first entry not deflated or stored -- use unzip
server1:/home/arun#unzip HOTEL_INFO.zip
ksh: unzip: not found.
... (11 Replies)
Discussion started by: Arunprasad
11 Replies
9. AIX
Hi,
what is the directory checksum error ?
# sed 's/^M$//' test4_bkp_19Jan13.tgz | tar -tvf -
tar: 0511-169 A directory checksum error on media; -265745505 not equal to 76225.
# mv test4_bkp_19Jan13.tgz test4.gz
# gunzip < /ebs2/test4.gz | tar -xvf -
tar: 0511-169 A directory checksum... (4 Replies)
Discussion started by: filosophizer
4 Replies
10. Solaris
Hello All,
I'm trying to write a script to load the MySQL DB from a dump file but the unzipping doesnt seem to work, not sure whats the issue, i get below error
bash>gunzip mysql2-dump.gz
gunzip: mysql2-dump: File too large
bash >
can anyone pls let me know how to sort this out?
... (2 Replies)
Discussion started by: Mahesh_RPM
2 Replies
LEARN ABOUT DEBIAN
marc::file
MARC::File(3pm) User Contributed Perl Documentation MARC::File(3pm)
NAME
MARC::File - Base class for files of MARC records
SYNOPSIS
use MARC::File::USMARC;
# If you have werid control fields...
use MARC::Field;
MARC::Field->allow_controlfield_tags('FMT', 'LDX');
my $file = MARC::File::USMARC->in( $filename );
while ( my $marc = $file->next() ) {
# Do something
}
$file->close();
undef $file;
EXPORT
None.
METHODS
in()
Opens a file for import. Ordinarily you will use "MARC::File::USMARC" or "MARC::File::MicroLIF" to do this.
my $file = MARC::File::USMARC->in( 'file.marc' );
Returns a "MARC::File" object, or "undef" on failure. If you encountered an error the error message will be stored in $MARC::File::ERROR.
Optionally you can also pass in a filehandle, and "MARC::File". will "do the right thing".
my $handle = IO::File->new( 'gunzip -c file.marc.gz |' );
my $file = MARC::File::USMARC->in( $handle );
next( [&filter_func] )
Reads the next record from the file handle passed in.
The $filter_func is a reference to a filtering function. Currently, only USMARC records support this. See MARC::File::USMARC's "decode()"
function for details.
Returns a MARC::Record reference, or "undef" on error.
skip()
Skips over the next record in the file. Same as "next()", without the overhead of parsing a record you're going to throw away anyway.
Returns 1 or undef.
warnings()
Simlilar to the methods in MARC::Record and MARC::Batch, "warnings()" will return any warnings that have accumulated while processing this
file; and as a side-effect will clear the warnings buffer.
close()
Closes the file, both from the object's point of view, and the actual file.
write()
Writes a record to the output file. This method must be overridden in your subclass.
decode()
Decodes a record into a USMARC format. This method must be overridden in your subclass.
RELATED MODULES
MARC::Record
TODO
o "out()" method
We only handle files for input right now.
LICENSE
This code may be distributed under the same terms as Perl itself.
Please note that these modules are not products of or supported by the employers of the various contributors to the code.
AUTHOR
Andy Lester, "<andy@petdance.com>"
perl v5.10.1 2010-03-29 MARC::File(3pm)