9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. UNIX for Dummies Questions & Answers
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
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
3. Shell Programming and Scripting
The below tar command works fine for me,
tar -cvf - `find ./srcdir -type d` | (cd ./destdir ; tar -xvf - )
but this version is giving error to me:
cd ./srcdir &&
tar -cf - . |
gzip -9 |
cd ../destdir &&
gzip -d |
tar -xf -
error is: gzip: compressed data not read from a terminal.... (2 Replies)
Discussion started by: royalibrahim
4. UNIX for Dummies Questions & Answers
While viewing tar file using "tar tf file.tar" command, I have received
"tar: blocksize = 0" message and while extracting a particular file from the same tar file (file.tar) I have received the same message and nothing is extracted.
Above commands ran in a shell script so, I... (3 Replies)
Discussion started by: Tlogine
5. UNIX for Dummies Questions & Answers
When doing tar -xvf to untar, some tar versions display the blocksize:
“tar: blocksize = 6”
my goal is to avoid this message. One way of doing it is to specify the blocksize:
tar -xvfb <tar_file> 6
Is there a setting in tar or a tar version to avoid this type of message without... (0 Replies)
Discussion started by: melanie_pfefer
6. UNIX for Advanced & Expert Users
I have tar: tape blocksize error when launching
# gunzip < TierDB.tar.gz |tar -xvf /data/ora/DREC
tar: tape blocksize error
Can you please help me ? It is urgent.
Many thanks. (1 Reply)
Discussion started by: big123456
7. UNIX for Dummies Questions & Answers
How can I change the blocksize in tar command?
tar cvf test.tar backup.sh
a backup.sh 1K
If we need to set the blocksize to 20, how to do that?
Thank you. (10 Replies)
Discussion started by: KhawHL
8. UNIX for Dummies Questions & Answers
I was recently given the responsibility of the unix box at our work. Without much training, I now have to go back and restore a file from tape. I'm having some trouble with it. I'm getting an error with the blocksize.
The part of the script that does the tar looks like this:
tar cvfX... (11 Replies)
Discussion started by: citrowske
9. UNIX for Advanced & Expert Users
When trying to extract a tar file in HP-UX using tar -xvf command it exits with the following error :"Tar: tape blocksize error".
Tar file is created using the following command with MKS toolkit(Unix Simulation Kit for Windows env) under Windows 2000 Professional:
"$tar -cvf test.tar test.txt... (1 Reply)
Discussion started by: ramkumar