Reverse tar
ODHIAMBO Washington
wash at wananchi.it
Sat May 3 01:52:34 PDT 2003
* Dan Nelson <dnelson at 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
More information about the freebsd-questions
mailing list