File transfer performance display?

Tom Metro blu-5a1Jt6qxUNc at public.gmane.org
Tue Sep 30 18:10:16 EDT 2008


John Abreau wrote:
> If cstream gives you the output you want, try replacing \n with \r:
> 
>     ssh host run-program | cstream -T 5 -o localfile | tr '\012' '\015'

That was my thought as well. Here's a slightly heavier weight version 
that came to mind first:

ssh host run-program | cstream -T 5 -o localfile | perl -pe 'tr/\n/\r/'

Works for me when I replace the first two parts with cat and a file.

  -Tom

-- 
Tom Metro
Venture Logic, Newton, MA, USA
"Enterprise solutions through open source."
Professional Profile: http://tmetro.venturelogic.com/





More information about the Discuss mailing list