[Linux-disciples] Copying amongst machines via scp
Stephen R Laniel
steve at laniels.org
Fri Feb 2 13:20:23 EST 2007
On Fri, Feb 02, 2007 at 01:17:14PM -0500, Adam Rosi-Kessel wrote:
> Doesn't seem so hackish to me. Of course you could wrap it in a pretty
> shell script if you didn't want to know what was going on. It's also
> common to use tar in this context to do the operation with multiple
> files preserving directory structure, etc.. With rsync, I suppose you
> could use the --rsh switch.
One reason it's hackish is that it's limited: what if I
wanted to do an scp -r? Eventually, in order to incorporate
all the flags to scp that I normally use, I'd be rewriting a
large part of the command-line-parsing code that's already
in scp.
The fact that rsync has a --rsh switch is what leads me to
believe that there's a way to do this using scp's own
command-line arguments. I'll look into doing this using
rsync; that may well do the trick.
--
Stephen R. Laniel
steve at laniels.org
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20070202/408f398b/attachment.pgp
More information about the Linux-disciples
mailing list