[CLUE-Tech] tar question
Mike Staver
staver at fimble.com
Fri Mar 14 16:20:46 MST 2003
Wow - you can pipe something like that to ssh and have it run those
commands for you? That is very, very cool.... I tried it, and it works
*perfectly* for what I need. Beats the heck out of tar'n up files, and
ftping them around. Thanks Todd!
"Todd A. Gibson" wrote:
>
> On Fri, Mar 14, 2003 at 02:56:29PM -0700, Mike Staver wrote:
> > Right - but I guess I was too vague with that - I'm doing this for *all*
> > users with folders in the /home directory, and yes, the password files
> > on both servers are exactly the same.
> >
> How about (as root):
> 1) cd into base directory of tree you want to transfer:
> 2) type:
> tar cf - * | ssh root at othermachine "(cd todir; tar xvpBf -)"
>
> -TAG
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
--
-Mike Staver
staver at fimble.com
mstaver at globaltaxnetwork.com
More information about the clue-tech
mailing list