tar command error

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting tar command error
# 1  
Old 01-23-2008
Question tar command error


when i extract a tar file by below command.

tar -xvf /cibs/prod/install/counter_cibs1.0.1.tar

it shown the error as

"tar: COUNTER1.0.1/source/ : Unable to preserve time."

but this error msg is not shown when extract from /cibs/prod/install/ by

tar -xvf counter_cibs1.0.1.tar (or)
tar -xvf /cibs/prod/install/counter_cibs1.0.1.tar

how do resolve this?
# 2  
Old 01-24-2008
This is only my guess but this can have something to do with the filesystem - possibly tar tool cannot set timestamp of the directory/file.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Help with Tar command.

I'm a total newbie. I'm unable to use tar using Ubuntu. Error message reads: Exiting with failure state due to previous errors. The files including .tar also show up in the directory. Thanks in advance. --- Post updated at 03:25 PM --- I got it to work using Tar cvf (0 Replies)
Discussion started by: eklinux
0 Replies

2. UNIX for Dummies Questions & Answers

UNIX command to check if file name ends with .tar OR if the file is a tar file

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

3. Shell Programming and Scripting

Single command - unzip files from a tar command

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

4. Red Hat

TO use tar command

Hello, i have already a backup in tar.gz format of test server.when i started to extract the backup it skip the archive folder,Please let me know if all you guru's have any solution of this. Thanks, Regards, Umair (3 Replies)
Discussion started by: umair
3 Replies

5. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

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

6. Shell Programming and Scripting

Bus error while using command tar -cvf

Hi, I am working on a mac OSX machine. I am getting bus error :confused: when i use the command tar -cvf file1.tar file1 What could be the reason for this?? (1 Reply)
Discussion started by: shweeths
1 Replies

7. Shell Programming and Scripting

tar command dont tar to original directory

HI, if I have a tarfile called pmapdata.tar that contains tar -tvf pmapdata.tar -rw-r--r-- 0/0 21 Oct 15 11:00 2009 /var/tmp/pmapdata/pmap4628.txt -rw-r--r-- 0/0 21 Oct 14 20:00 2009 /var/tmp/pmapdata/pmap23752.txt -rw-r--r-- 0/0 1625 Oct 13 20:00 2009... (1 Reply)
Discussion started by: borderblaster
1 Replies

8. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

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

9. Linux

tar error exit delayed form pervious error

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

10. UNIX for Advanced & Expert Users

Tar command

Hi folks, Would the options p and --same-owner be the same effect? On running; 1) tar jcpf AAA.tar.bz2 /path/to/AAA and 2) tar jcpf AAA.tar.bz2 --same-owner /path/to/AAA the results are more less the same. On 'man tar" I can't resolve. Please help. TIA B.R. satimis (8 Replies)
Discussion started by: satimis
8 Replies
Login or Register to Ask a Question