Progress bar during smbclient put
What I do when I want to check up on a file transfer operation that either doesn't support progress bars or I forgot to start it in a progress bar mode is this.
Figure out the total size of your local copy of the file (work_backup.tar.gz
) e.g. with ls
, stat
or du
. Then go to the location of the target file (either with ssh
or just cd
if it' on the same machine). Issue
watch -- du -h work_backup.tar.gz
This is a bit hacky, but it still works even after starting the respective copy job and it pretty much works with every copy mechanism I can imagine.