I have script that sftp files . i would like to display a progress bar showing the transfer of the files
sftp -o StrictHostKeyChecking=no [email protected] << !
cd offload
put /media/*/*.tgz |zenity --progress --auto-close
bye
Try this:
sftp -o StrictHostKeyChecking=no [email protected] << !
progress
cd offload
put /media/*/*.tgz |zenity --progress --auto-close
bye
From man sftp
:
progress Toggle display of progress meter.