nosair wrote:

> scp -r [EMAIL PROTECTED]:~/* ~/ECEJUNE2006 | tee transfer_june_2006.txt
> 
> I get the prompt for password. After that, the downloading of files and
> folders begins as normal. However, the file transfer information does not show
> on screen, and transfer_june_2006.txt remains empty during the downloading.

This is not a bug.  scp will not print any progress output if the
standard output is not a tty.  Even if it did, you would probably not
like the result since it prints a line to the screen every second,
prefixed with a \r so that each successive line overwrites the next.  If
you redirected that to a file you would get a bunch of nonsense when you
tried to view it later.

You can actually do this with the 'script' utility, which simulates a
tty to the command with a pseudoterminal:

script transfer_june_2006.txt scp -r [EMAIL PROTECTED]:~/* ~/whatever

However, when you view the .txt file with 'less' it will likely be
fairly unintelligible, certainly not a plain text log.  Though if you
'cat' it to a terminal you will recreate the scp output in fast-forward
mode.

Brian


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to