Tony Lawrence wrote:
> Wunsch wrote:
>
>> I'm trying to get the g4u scripts running on debian machines. I've got
>> it all running now expect for a fancy progress bar.
>>
>> The original g4u uses 'progress' to get a progress bar of the data pipe:
>>
>> ftp -o "| progress -z dd obs=1M of=/dev/${diskpart}" ftp.....
>>
>> I can't find this program for linux. I have found the program 'bar'
>> but there's no debian package for it and I would like to be able to
>> use it out of the box.
>>
>> So anyone a clue how to accomplish this progress bar on the data pipe
>> in bash?
>>
>> Rg,
>>
>> Arnaud Loonstra
>
>
>
> dialog maybe ?
>
>
> http://aplawrence.com/Words2005/2005_03_08.html
>
From what I've seen of it it doesn't support stdin & stdout, it needs a
counter to get a gauge progress bar.
I've tried 'bar' now and it could do the job only it doens't work with
lukemftp for some reason. It did work with ncftp but I want a user input
of the password.
http://clpbar.sourceforge.net/
if I could only get the original 'progress' command which is used on
NetBSD.
Arnaud.