From owner-freebsd-questions@FreeBSD.ORG Sat May 3 01:52:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B66B37B401 for ; Sat, 3 May 2003 01:52:34 -0700 (PDT) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1244643F93 for ; Sat, 3 May 2003 01:52:32 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.14 #9 (FreeBSD)) id 19BsUc-000EOW-Ms; Sat, 03 May 2003 11:35:38 +0300 Date: Sat, 3 May 2003 11:35:38 +0300 From: ODHIAMBO Washington To: Dan Nelson Message-ID: <20030503083538.GC17027@ns2.wananchi.com> Mail-Followup-To: ODHIAMBO Washington , Dan Nelson , FBSD-Q References: <20030502151430.GB631@ns2.wananchi.com> <20030502152753.GF94877@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030502152753.GF94877@dan.emsphone.com> X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Be braver -- you can't cross a chasm in two small jumps. X-Operating-System: FreeBSD 4.8-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt 1.5.3i (2002-12-17) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 11:34AM up 3 days, 1 hr, 2 users, load averages: 0.44, 0.32, 0.30 User-Agent: Mutt/1.5.3i Sender: Odhiambo Washington cc: FBSD-Q Subject: Re: Reverse tar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2003 08:52:34 -0000 * Dan Nelson [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: ------------------------------------------------------------------ ++ "...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