Extract Tar Archice to current directory

From: Amindra Mahto (MahtoA@dime.com)
Date: Mon Apr 22 2002 - 09:49:58 EDT


Hi All,

I tared three files in following way by using -I option

#tar cvf /dev/rmt/0 -I /tmp/listoffiles <return>
and the content of /tmp/listoffiles is as below
/export/home/kumar/installer
/usr/platform/sun4u/sbin/eeprom
/etc/hosts
I have already checked the tar status by # tar tvf /dev/rmt/0 and could see
all the above mentioned files so I'll say tar was done ok.

Question:

I want to restore the files in /tmp directory. I give the following command:
#cd /tmp
#tar xvf /dev/rmt/0 .<return>
But nothing gets restored then I tried
#tar xvf /dev/rmt/0 /export/home/kumar/installer . <return> then files got
restored in /export/home/kumar but not in /tmp
How to restore in current directory???? Please let me know. I'll summarise.

Thanks!

Amindra
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:14 EDT