From the looks of that output not all of the tarball is compress files?
Maybe something like:
This is the output for tar xvf a.tar
If I do below, there is no ouput.
If I do below, it's almost there but the extra , after the .Z is causing problem. Any suggestion how to get it right?
Last edited by Franklin52; 04-03-2012 at 10:41 AM..
Reason: Please use code tags for data and code samples, thank you
In order to save diskspace and avoid of disk full during
unzip then extract the tar file
is there any tar unzip command would unzip and extract tar at the same time
(test123.tar.gz)
thank in advance (6 Replies)
Hi,
I want to view/display the contents of one file in tar file.
For example if the tar file is sam.tar.gz and one of the file inside is E1.txt, how do i view the contents of this E1.txt file.
Olso if I want to extract the E1.txt file only from sam.tar.gz how can i do that.
Thanks in... (7 Replies)
:)
Hi,
I use the following command to search for a string in all the files in the directories and sub directories.
find . -type f -print | xargs grep bermun@cial.net
Can someone please cite a method wherin I can find the entries from a list of 300-500 *.gz files by modifying the above... (2 Replies)
Hi All,
By accident, i deleted some files. Fortunately I have a backup backup.tar.gz files (750GB). It's too big for me to untar to get the file
Is it possible that i could get the selected files in backup.tar.gz if i know exactly where the files are located.
Thanks.
Ken (1 Reply)
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)
Hi,
I am using solaris 10 OS.Please help me out with the commands needed in below two scenarios.
1)How to delete the existing files in the tar file.
suppose i have a main tarfile named application.tar and it contains a file called ingres.tar.
what is the command to remove ingres.tar... (2 Replies)
Hi all,
this is my first and i can't speak english well, so please be kind !
Here is my problem :
I want to unzip a list of .zip files stored in one directory, so I though about using that : unzip '*.zip'
Thing is that all of my zipped folders contain a file with the unique same name :... (6 Replies)
My unzip command doesn't work for files that are greater than 4GB. Consider my file name is unzip -p -a filename.zip, the command doesn't work since the size of the file is larger. I need to know the corresponding 7z command for the same. This is my Unix shell script program:
if
then
... (14 Replies)
Hi All,
First of all I don't know whether this is possible. or no. Thought of getting experts thought.
I am having a tar file which contains zipped file in it . I tried individual command with extraction and it worked
tar -tvf TRANS_279.tar
-rw-rw-r-- qqa00 1394 2016-10-03 10:39:19... (8 Replies)
Discussion started by: arunkumar_mca
8 Replies
LEARN ABOUT LINUX
shtool-tarball
SHTOOL-TARBALL.TMP(1) GNU Portable Shell Tool SHTOOL-TARBALL.TMP(1)NAME
shtool-tarball - GNU shtool command for rolling standardized tarballs
SYNOPSIS
shtool tarball [-t|--trace] [-v|--verbose] [-o|--output tarball] [-c|--compress prog] [-d|--directory directory] [-u|--user user]
[-g|--group group] [-e|--exclude pattern] path [path ...]
DESCRIPTION
This command is for rolling input files under path into a distribution tarballs which can be extracted by tar(1).
The four important aspects of good open source software tarballs are: (1) unpack into a single top-level directory, (2) top-level directory
corresponds to the tarball filename, (3) tarball files should be sorted and (4) arbitrary names for file owner and group.
OPTIONS
The following command line options are available.
-v, --verbose
Display some processing information.
-t, --trace
Enable the output of the essential shell commands which are executed.
-o, --output tarball
Output tarball to file tarball.
-c, --compress prog
Pipe resulting tarball through compression program prog.
-d, --directory directory
Sets the top-level directory into which the tarball unpacks. By default it is tarball without the trailing ".tar.*" extension.
-u, --user user
The user (owner) of files and directories in the tarball to user.
-g, --group group
The group of files and directories in the tarball to group.
-e, --exclude pattern
Exclude files and directories matching comma-separated list of regex pattern from the tarball. Directories are expanded before the
filtering takes place. The default filter pattern is ""CVS,\.cvsignore,\.svn,\.[oa]$"".
EXAMPLE
# Makefile.in
dist:
...
V=`shtool version -d short ...`;
shtool tarball -o foobar-$$V.tar.gz -c 'gzip -9'
-u bar -g gnu -e 'CVS,.cvsignore' .
HISTORY
The GNU shtool tarball command was originally written by Ralf S. Engelschall <rse@engelschall.com> in 1999 for GNU shtool.
SEE ALSO shtool(1), tar(1), compress(1).
18-Jul-2008 shtool 2.0.8 SHTOOL-TARBALL.TMP(1)