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
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.
sftp
command-line tool. If you need popup, use Filezilla or some other GUI applications. –
Hazelwood © 2022 - 2024 — McMap. All rights reserved.