[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Progress meter on copying



On 3/15/06, Ted Gilchrist <egilchri@gmail.com> wrote:
> I thought I could capture the progress status of scp to a file:
>
>  % scp -r html egilchri@egilchri-pc: 1>>mylog  2>&1
>
> but the result is an empty file. Can someone tell me how to do this?

scp is automatically detecting that the standard output is not a tty,
so it's not sending the progress bat. You can capture it in other ways
though -- 'screen' has a 'screenlog' option (^AH) and 'script' will
log everything output by the specified program to a specified file.



Reply to: