shell.
Thanks,
Jeff Liu
-Original Message-
From: Lirot, Gregory [mailto:[EMAIL PROTECTED]]
Sent: April 1, 2002 1:42 PM
To: Jeff Liu; Beginners
Subject: RE: scp inside perl
Jeff:
I think you have the | in the wrong place. It should be
at the end of the line, as :
open(SCP,"scp sourc
hanks,
Jeff Liu
-Original Message-
From: Lirot, Gregory [mailto:[EMAIL PROTECTED]]
Sent: April 1, 2002 1:42 PM
To: Jeff Liu; Beginners
Subject: RE: scp inside perl
Jeff:
I think you have the | in the wrong place. It should be
at the end of the line, as :
open(SCP,"scp source dest|");
some host trust your login / host
combination.
Best Regards,
Greg
-Original Message-
From: Jeff Liu [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 12:06 PM
To: Lirot, Gregory; Beginners
Subject: RE: scp inside perl
Hi Greg,
Thanks for your help.
But I have difficulty to f
sure: I wrote this as a push script to move files from one machine to one or
more machines. This script works best if Keys are exchanged, but will also
work(Prompting for password) without.
Also at http://www.gargiullo.com/scripting/index.cfm
#!/usr/bin/perl -w
##
# Original script wri
-
From: Lirot, Gregory [mailto:[EMAIL PROTECTED]]
Sent: April 1, 2002 12:02 PM
To: Jeff Liu; Beginners
Subject: RE: scp inside perl
Jeff:
Yes. Merely use something like:
system("scp Source Destination");
This would be the easiest way, or, also:
`scp Source Dest`;
More elabora
Jeff:
Yes. Merely use something like:
system("scp Source Destination");
This would be the easiest way, or, also:
`scp Source Dest`;
More elaborate stuff can be done, but this is good for starters.
Best Regards,
Greg
-Original Message-
From: Jeff Liu [mailto:[EMAIL PROTECTED]]
Sent: