Re: untar question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



gzip -dc filename.tar.gzip | tar -xvf -

this will create a directory in your current working directory and unpack the tarball there.

Stephen Liu wrote:
Hi Scot,

Thanks for your advice

On Sun, 2003-08-31 at 12:30, Scot L. Harris wrote:

I believe you need to drop the second parameter on your untar command. Just put the file name of the tar file after the zxvf options.


Sorry, I have not explained clear in my first posting of this subject.

I want to untar and paste all files to the same folder/directory

/home/satimis/evolution/local/

as I created the tarball with full path (same path)

I can untar the tarball but not as my desire

Thanks

B.Regards
Stephen



On Sun, 2003-08-31 at 00:31, Stephen Liu wrote:

Hi all folks,

Ximian Evolution 1.4
====================
I created a tarball on RH8.0 with following steps

1) # mkdir /home/satimis/Temp-1
2) # tar zcvf /home/satimis/Temp-1/backup_local.tar.gz
/home/satimis/evolution/local/

Burnt the tarball with Xcdroat and untared it to Ximian Evolution 1.4
(same version) but running on RH9.0 with following results

1) # tar zxvf /mnt/cdrom/backup_local.tar.gz
/home/satimis/evolution/local/
tar: /home/satimis/evolution/local: Not found in archive

2) # tar zxvf /mnt/cdrom/backup_local.tar.gz /home/satimis/evolution/
tar: /home/satimis/evolution: Not found in archive
tar: Error exit delayed from previous errors

Kindly advise what mistake I have committed.  Or the tarball must be
untared to the same version of RedHat.

Thanks in advance.

B.Regards
Stephen Liu



To Get Your Own iCareHK.com Email Address? Go To www.iCareHK.com.




--


regards,

shane


-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux