in reply to scp output without having to use "Net::SCP" in Perl

/usr/bin/tmp

Should probably try /usr/bin/scp.. ;-)

  • Comment on Re: scp output without having to use "Net::SCP" in Perl

Replies are listed 'Best First'.
Re^2: scp output without having to use "Net::SCP" in Perl
by pjzero@90 (Novice) on Jun 02, 2015 at 21:46 UTC
      Try adding a double dash after the command to stop option processing:
      system("/usr/bin/scp", "--", $output, "$USER\@$host:/tmp/LOGS/");