![]() |
dialog command buffering problem in pipe
I am trying to pipe percentage values into pipe by the following methods:
Code:
rsync -a --progress ~/Desktop/test.tar.gz ~/Downloads | I am trying an alternative: Code:
dialog --title "Test" --gauge "Copying file." 6 100 <<< "$( |
I came across a similar problem when trying to put an mencoder/ffmpeg video conversion progress inside a dialog gauge widget.
You can try it this way (warning: the following script needs polishing): Code:
rsync -aP FILE DEST | while read -d $'\r' INFO |
| All times are GMT -5. The time now is 06:02 AM. |