10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I was looking at this tutorial for tar extract Z file. Is there a reason why this did not work? I checked my man pages and it had a -Z option.
tar -xZvf /opt/Nimsoft/nimldr.tar.Z
tar (child): compress: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now... (2 Replies)
Discussion started by: cokedude
2 Replies
2. OS X (Apple)
Hi
I have a few hundred files with extension .tar.Z. These files were archived (tar) and compressed (Z) on a UNIX system. I need to unzip them but not extract them. In other words they need to go to .tar extension. I would like to do this on my MAC or on a windows pc. I do not have a UNIX... (3 Replies)
Discussion started by: kalbano
3 Replies
3. 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
4. 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
5. 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
6. 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
7. UNIX for Advanced & Expert Users
Hi ,
I need to extarct only a particulay files from the tar.Z.
ie
i need to extract one.txt from test.tar.Z.
The test.tar.Z may contain lot of file and folders.
Please help me to extract particular file to some location.
Regards,
Kalai. (1 Reply)
Discussion started by: kalpeer
1 Replies
8. UNIX for Dummies Questions & Answers
hi
i want tar to read its input from a file .
that is i have a file that contains a list of all directories that i nead to backup .
how can i make tar read this list. (2 Replies)
Discussion started by: ppass
2 Replies
9. UNIX for Dummies Questions & Answers
Whenever I try to uncompress file.tar.gz I always get message 'tar: directory checksum error'. I think because of this some of the directories might not be uncompressing properly. Why do I get this message? I do uncompress on UNIX Solaris 5.8. Oh, if I do the same thing on Fedora 3 everything works... (14 Replies)
Discussion started by: webtekie
14 Replies
10. UNIX for Advanced & Expert Users
anyone know if it is possable to extract a subdirectory in a tar file.
IE
tarfile contains
parent dir
-sub dir A
-sub dir B
I want to extract sub dir B. (2 Replies)
Discussion started by: Optimus_P
2 Replies