IETF-SSH archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
RE: redirect scp (stdout) to file
It doesn't work with scp.
i.e.
script -a logfile.log
tap_scp.sh -a logfile.log
* This is what's displayed on the screen during the scp
...
...
hrc_control_file_4
100% 151 756.2KB/s 00:00
hrc_curr_rmks_4
100% 0 0.0KB/s --:-- ETA
hrc_furlough_4
100% 0 0.0KB/s --:-- ETA
...
...
...
* Looking for the file gets this:
*
ls -ltr logfile.log
logfile.log: No such file or directory
-----Original Message-----
From: Barney Wolff [mailto:barney%databus.com@localhost]
Sent: Wednesday, March 10, 2004 12:05 PM
To: Borklund, Thomas
Cc: 'Kumaresh'; 'ietf-ssh%netbsd.org@localhost'
Subject: Re: redirect scp (stdout) to file
On Wed, Mar 10, 2004 at 10:00:20AM -0500, Borklund, Thomas wrote:
>
> Thanks for getting back to me. The -v works but puts all that debug info
in
> the file and not the %100 completion info.
> I'd prefer to get only what's displayed on the screen.
man script
--
Barney Wolff http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.
Home |
Main Index |
Thread Index |
Old Index