Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Best way to copy /* ?
Date: Wed, 29 Dec 2010 20:26:19
Message-Id: 4D1B9912.8010505@xunil.at
In Reply to: Re: [gentoo-user] Best way to copy /* ? by Mick
1 Am 29.12.2010 20:16, schrieb Mick:
2
3 >>>> cd [source] & tar xpf - . | ssh [user]@[host] 'cd [dest] && tar xpf
4 >>>> -'
5 >>>
6 >>> That's what I was looking for - a single command I can run on the source
7 >>> machine. Thanks Alex.
8 >>>
9 >>> Just one more thing - what if I only want to store the tar of the source
10 >>> directory as an archive on the remote machine?
11
12 I can't resist:
13
14 my bookmark for these issues is old, but working for me:
15
16 http://ultra.ap.krakow.pl/~bar/DOC/ssh_backup.html