[HPADM] Pax single file restore to relative path

From: anil rajapure (anil_unix1975@yahoo.com)
Date: Mon Jul 15 2002 - 20:56:14 EDT


 I prepared the tar archive with following two files(with absolute path)
/etc/passwd & /etc/group (tar -cvf test.tar /etc/passwd /etc/group)
I want to extract only passwd file to other location say tmp.
How to do this.
Whole restore can be done - pax -rv -s '/^\///' -f test.tar
 
But how extract just passwd.
 
Thanks in Advance. Will summarize.
Regards,

---------------------------------
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:16 EDT