Lane during smbclient put

I am trying to show a progress bar during a remote copy using smbclient put, possibly using pv or a dialog or any other option.

The smbclient-put il command works fine:

smbclient //usbrouter/backup --user=myusername mypassword -c "put /media/DOC/BackupAuto/work_backup.tar.gz work_backup.tar.gz"

But I can’t find a way to show the progress of the copy. Does anyone have a solution / alternative?

Thank.

+5
source share
1 answer

What do I do when I want to check the file transfer operation, which either does not support progress indicators, or I forgot to start it in the progress indicator mode.

(work_backup.tar.gz), . ls, stat du. ( ssh, cd, ).

watch -- du -h work_backup.tar.gz

, - , , .

+9

All Articles