RE: scp inside perl

2002-04-01 Thread Michael Gargiullo
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

RE: scp inside perl

2002-04-01 Thread Jeff Liu
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|");

RE: scp inside perl

2002-04-01 Thread Lirot, Gregory
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

Re[2]: scp inside perl

2002-04-01 Thread Daniel Gardner
ECTED]] > 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 elab

RE: scp inside perl

2002-04-01 Thread Michael Gargiullo
t;; } exit $finished; sub dirname { my $file = shift; my $dir = "."; $dir = substr($file, 0, rindex($file, '/')+1) if $file =~ m:/:; return $dir; } close(LOG); -Original Message- From: Jeff Liu [mailto:[EMAIL PROTECTED]] Sent: Monda

RE: scp inside perl

2002-04-01 Thread Jeff Liu
- 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

RE: scp inside perl

2002-04-01 Thread Lirot, Gregory
TED]] Sent: Monday, April 01, 2002 11:44 AM To: Beginners Subject: scp inside perl Hi all, Is there a way to do scp inside perl script? Thanks, Jeff Liu -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROT

scp inside perl

2002-04-01 Thread Jeff Liu
Hi all, Is there a way to do scp inside perl script? Thanks, Jeff Liu -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]