07-01-2008
Thanks.
One more question
Where will the singlefile.dat be extracted. I dont want to overwrite any existing file.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all,
kindly help me how to extract one file form .tar.gz without uncompressing .tar.gz file.
thanks in advance
bali (2 Replies)
Discussion started by: balireddy_77
2 Replies
2. UNIX for Advanced & Expert Users
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)
Discussion started by: darkrainbow
6 Replies
3. Shell Programming and Scripting
Hi,
This is my first post here - I'm hoping I can get some help! I have searched these forums and othersand not getting anything that works.
I am trying to extract a single file from a tar archive to a diffierent location than it will default to.
For example my tar log shows me ...
a... (3 Replies)
Discussion started by: littleIdiot
3 Replies
4. UNIX for Advanced & Expert Users
I just want to extract one sigle file from an .ear archieve instead of extracting whole ear.
Can anyone help me on this? (4 Replies)
Discussion started by: harshal_dcx
4 Replies
5. UNIX for Dummies Questions & Answers
Hello
I take a backup using the following command on Solaris 9
tar cvf /dev/rmt/0n data
the data volume contains a number of files say a, b, c , d ... etc
Now I want to restore only one file (eg b) from the data volume.
When I issue the command
tar xvf /dev/rmt/0n data/b... (1 Reply)
Discussion started by: rahmantanko
1 Replies
6. Shell Programming and Scripting
I have a tar file that contains multiple .Z files. Hence I need to issue a tar command followed by a gzip command to fully extract the files. How do I do it in a single command?
What I'm doing now is
tar xvf a.tar (this will output 1.Z and 2.Z)
gzip -d *.Z (to extract 1.Z and 2.Z) (9 Replies)
Discussion started by: ericlim
9 Replies
7. UNIX for Dummies Questions & Answers
I would like to confirm my file.tar is been tar-ed correctly before I remove them. But I have very limited disc space to untar it.
Can I just do the listing instead of actual extract it? Can I say confirm folder integrity if the listing is sucessful without problem?
tar tvf file1.tar
... (1 Reply)
Discussion started by: vivien_chu
1 Replies
8. Shell Programming and Scripting
Hi,
I need to extract a single file from a tar file to another directory.
So far I have this:
This one extract a single file to same directory:
tar -xvf filename.tar ./file.txt
I tried this but its not working
tar -xvf filename.tar /home/dir ./file.txt
or this: (6 Replies)
Discussion started by: erin00
6 Replies
9. UNIX for Dummies Questions & Answers
Hello Team,
Would you please help me with a UNIX command that would check if file is a tar file.
if we dont have that , can you help me with UNIX command that would check if file ends with .tar
Thanks in advance. (10 Replies)
Discussion started by: sanjaydubey2006
10 Replies
10. UNIX for Beginners Questions & Answers
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
DLB(6) Games Manual DLB(6)
NAME
dlb - NetHack data librarian
SYNOPSIS
dlb { xct } [ vfIC ] arguments... [ files... ]
DESCRIPTION
Dlb is a file archiving tool in the spirit (and tradition) of tar for NetHack version 3.1 and higher. It is used to maintain the archive
files from which NetHack reads special level files and other read-only information. Note that like tar the command and option specifiers
are specified as a continuous string and are followed by any arguments required in the same order as the option specifiers.
This facility is optional and may be excluded during NetHack configuration.
COMMANDS
The x command causes dlb to extract the contents of the archive into the current directory.
The c command causes dlb to create a new archive from files in the current directory.
The t command lists the files in the archive.
OPTIONS AND ARGUMENTS
v verbose output
f archive specify the archive. Default if f not specified is LIBFILE (usually the nhdat file in the playground).
I lfile specify the file containing the list of files to put in to or extract from the archive if no files are listed on the command
line. Default for archive creation if no files are listed is LIBLISTFILE.
C dir change directory. Changes directory before trying to read any files (including the archive and the lfile).
EXAMPLES
Create the default archive from the default file list:
dlb c
List the contents of the archive 'foo':
dlb tf foo
AUTHOR
Kenneth Lorber
SEE ALSO
nethack(6), tar(1)
BUGS
Not a good tar emulation; - does not mean stdin or stdout. Should include an optional compression facility. Not all read-only files for
NetHack can be read out of an archive; examining the source is the only way to know which files can be.
4th Berkeley Distribution 28 Oct 1993 DLB(6)