04-22-2015
See if your version of tar supports an -E option to handle large files. It may be a different letter option -. You want "extended" or "largefile" support.
But.
Why are you trying to tar a gigantic file to the screen? And tar is NOT zip or gzip. If you want to compess a file use gzip (or zip or 7zip or compress or whatever compression tool your system has that meets your needs).
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
--------------------------------------------------------------------------------
When I tried to decompress using TAR the following error was popped up..
tar: blocksize = 0
..Can anyone tell me wht this means and how to rectify this error... (1 Reply)
Discussion started by: hemin_pm
1 Replies
2. Solaris
When I tried to decompress using TAR the following error was popped up..
tar: blocksize = 0
..Can anyone tell me wht this means and how to rectify this error... (3 Replies)
Discussion started by: hemin_pm
3 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
i am working on aix.
when i am tarring a folder using the command
tar cf /home/test45/res rpt
i am getting an error like
tar: res rpt/Idaho_110_20079245268_Plan_OverPayment_summary_rpt_v2.1.xls: file changed as we read it
vat may be the issue...
please advice
sam (1 Reply)
Discussion started by: sam99
1 Replies
4. UNIX for Advanced & Expert Users
Hi
i am facing one problem with one file dxagent.ss, this file has most of the binary contents.
when i m running following command on unix machine
tar xpf dxagent.ss
output should be: removing leading '/' from members name. and should create 'usr' and 'var' directory.
but i am getting some... (5 Replies)
Discussion started by: yogini nemade
5 Replies
5. AIX
When Im trying to untar a file I get an error message
tar: 0511-169 A directory checksum error on media; 804399248 not equal to 46325.
What can I do to untar my file
Thanks (3 Replies)
Discussion started by: joemad
3 Replies
6. UNIX for Dummies Questions & Answers
I've got this Files.tgz containing
Fruits/Apple.txt
Drinks/Soda.txt
Drinks/Pepsi.txt
I would like to extract all files/directories with pattern "Fruits".
So, what I did was
tar -xvf File.tgz `tar -tf Files.tgz | grep 'Fruits'`
However, output is:-
Files/Fruits... (8 Replies)
Discussion started by: percivalwcy
8 Replies
7. Solaris
Hi,
WHile decompressing the files, i get the error tar: directory checksum error. After decompressing when i check the size of file, it is less than the original file. Due to this error, there is loss of data. How can this error be removed?
Thanks in advance. (7 Replies)
Discussion started by: agarwal
7 Replies
8. Linux
Hi
when use "tar cpvzf /dev/st0 --exclude=/proc --exclude-/lost+found --exclude=/mnt --exclude=/media --exclude=/sys /" to tape,
get the following message "tar: error exit delayed form pervious error",
What is the mean ? Please suggest some solution for these errors. thx (1 Reply)
Discussion started by: chayato
1 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies
10. Shell Programming and Scripting
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
LEARN ABOUT MOJAVE
cpanplus::internals::extract5.18
CPANPLUS::Internals::Extract(3pm) Perl Programmers Reference Guide CPANPLUS::Internals::Extract(3pm)
NAME
CPANPLUS::Internals::Extract - internals for archive extraction
SYNOPSIS
### for source files ###
$self->_gunzip( file => 'foo.gz', output => 'blah.txt' );
### for modules/packages ###
$dir = $self->_extract( module => $modobj,
extractdir => '/some/where' );
DESCRIPTION
CPANPLUS::Internals::Extract extracts compressed files for CPANPLUS. It can do this by either a pure perl solution (preferred) with the
use of "Archive::Tar" and "Compress::Zlib", or with binaries, like "gzip" and "tar".
The flow looks like this:
$cb->_extract
Delegate to Archive::Extract
METHODS
$dir = _extract( module => $modobj, [perl => '/path/to/perl', extractdir => '/path/to/extract/to', prefer_bin => BOOL, verbose => BOOL, force
=> BOOL] )
"_extract" will take a module object and extract it to "extractdir" if provided, or the default location which is obtained from your
config.
The file name is obtained by looking at "$modobj->status->fetch" and will be parsed to see if it's a tar or zip archive.
If it's a zip archive, "__unzip" will be called, otherwise "__untar" will be called. In the unlikely event the file is of neither format,
an error will be thrown.
"_extract" takes the following options:
module
A "CPANPLUS::Module" object. This is required.
extractdir
The directory to extract the archive to. By default this looks something like:
/CPANPLUS_BASE/PERL_VERSION/BUILD/MODULE_NAME
prefer_bin
A flag indicating whether you prefer a pure perl solution, ie "Archive::Tar" or "Archive::Zip" respectively, or a binary solution like
"unzip" and "tar".
perl
The path to the perl executable to use for any perl calls. Also used to determine the build version directory for extraction.
verbose
Specifies whether to be verbose or not. Defaults to your corresponding config entry.
force
Specifies whether to force the extraction or not. Defaults to your corresponding config entry.
All other options are passed on verbatim to "__unzip" or "__untar".
Returns the directory the file was extracted to on success and false on failure.
perl v5.18.2 2014-01-06 CPANPLUS::Internals::Extract(3pm)