[HPADM] RE: tar and pipe [SUMMARY]

From: HAUTECOEUR Bruno (HAUTECOB@ESSILOR.fr)
Date: Fri Oct 25 2002 - 11:38:27 EDT


hi admins,

here is what the great answer i was waiting for :

dd if=/dev/rmt/4m ibs=32k | remsh host "cd target_dir; tar xvbf 64 -"

Thanks all.

rgds
________________
Bruno HAUTECOEUR
Architecte système Unix
DSI / Architecture Technique - Essilor International
Tel: 33 (0)1 48 98 73 20 / Fax: 33(0)1 49 56 20 56
mail: hautecob@essilor.fr

-----Message d'origine-----
De: HAUTECOEUR Bruno [mailto:HAUTECOB@ESSILOR.fr]
Date: vendredi 25 octobre 2002 12:57
À: 'hpadm'
Objet: [HPADM] tar and pipe

Hi,

how can i pipe a tar xvf command in a rcp or remsh commande towards another
server ?

ie: tar xvbf 64 /dev/rmt/4m files | rcp host:/target_dir

or tar xvbf 64 /dev/rmt/4m files | remsh hosts .....

TIA

rgds

________________
Bruno HAUTECOEUR
Architecte système Unix
DSI / Architecture Technique - Essilor International
Tel: 33 (0)1 48 98 73 20 / Fax: 33(0)1 49 56 20 56
mail: hautecob@essilor.fr

--
             ---> 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)
--
             ---> 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:21 EDT