Re: How to save the output from the scp command's progress meter?

From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 12/20/03


Date: Sat, 20 Dec 2003 22:54:24 +0100

Niko Sokka <niko.sokka@fmi.fi> wrote:
> How can I capture the output from the scp command's progress meter and
> save it to a file so that I can have a record of the progress over a
> period of time? I would like to do the trick in UNIX batch job.

ssh localhost -t scp ~/filename remotehost:~ >logfile 2>&1

Of course this assumes public key authentication is working.

-- 
Michael Heiming
Remove +SIGNS and www. if you expect an answer, sorry for 
inconvenience, but I get tons of SPAM


Relevant Pages

  • How to save the output from the scp commands progress meter?
    ... How can I capture the output from the scp command's progress meter and ... I would like to do the trick in UNIX batch job. ...
    (comp.security.ssh)
  • Re: SCP: Redirecting stdout
    ... >> What information are you trying to glean from it? ... >> to use the -q option to disable the progress meter. ... > And as far as parsing the output, ... my guess is that scp calls isatty ...
    (comp.security.ssh)
  • Re: Progress meter on copying
    ... >>Does anyone know of a nice way of being able to show a progress meter on ... >>copying a large file from one part of the disk to another. ... >>localfile localfile2 but scp calls cp. ...
    (Debian-User)
  • Re: Progress meter on copying
    ... > Does anyone know of a nice way of being able to show a progress meter on ... > copying a large file from one part of the disk to another. ... > localfile localfile2 but scp calls cp. ...
    (Debian-User)
  • Progress meter on copying
    ... Does anyone know of a nice way of being able to show a progress meter on ... copying a large file from one part of the disk to another. ... localfile localfile2 but scp calls cp. ...
    (Debian-User)