Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2003 11:35:38 +0300
From:      ODHIAMBO Washington <wash@wananchi.it>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: Reverse tar
Message-ID:  <20030503083538.GC17027@ns2.wananchi.com>
In-Reply-To: <20030502152753.GF94877@dan.emsphone.com>
References:  <20030502151430.GB631@ns2.wananchi.com> <20030502152753.GF94877@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Dan Nelson <dnelson@allantgroup.com> [20030502 18:28]: wrote:
> In the last episode (May 02), ODHIAMBO Washington said:
> > 
> > I would like to ssh to host B, cd some/path, tar some/path/directory/
> > and output the tarball locally to TARBALL.tgz
> 
> Have you tried:
> 
> ssh hostb "cd some/path ; tar czf - directory" > TARBALL.tgz


Hello Dan,

Thank you so much. This is exactly what I was looking for.

Do have a nice weekend!

 	Best regards,
	Odhiambo Washington
        Wananchi Online Ltd.


___W_A_N_A_N_C_H_I__O_N_L_I_N_E__L_T_D___The People's Choice______
Wananchi Head Office    |*|	Tel: +254 2 313 985-9
1st Flr Loita, Loita St.|*|	Fax: +254 2 313 922
10286-GPO, NAIROBI, KE 	|*|	e-mail: <wash at wananchi dot com>
------------------------------------------------------------------
++

"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort." 
 --Harley Hahn, A Student's Guide to Unix
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030503083538.GC17027>