Quantcast
Channel: How can I view a progress bar when running rsync? - Ask Ubuntu
Browsing all 8 articles
Browse latest View live

Answer by Benjamin for How can I view a progress bar when running rsync?

Something I find useful is using a tqdm like this:Like @ostrokach said, you can install it either bypip install tqdmorsudo apt install python3-tqdmSet the params:SRC=a/DST=bPARAMS=-avAnd invoke:rsync...

View Article



Answer by Gabriel Staples for How can I view a progress bar when running rsync?

Yeah, do what Jon said: use the --info=progress2 option. But, what do I do if my version of rsync is too old and doesn't support this option? Answer: upgrade rsync!Here's how to build rsync from source...

View Article

Answer by ostrokach for How can I view a progress bar when running rsync?

If your version of rsync does not accept the --info=progress2 option, you can use tqdm:To install:pip install tqdmTo use:$ rsync -av /source /dest | tqdm --unit_scale | wc -l10.0Mit [00:02, 3.58Mit/s]

View Article

Answer by fugitive for How can I view a progress bar when running rsync?

You can use --progress and --stats parameters.$ rsync -avzh --progress --stats root@server:/path/to/file output_nameroot@server's password: receiving incremental file listfile 98.19M 54% 8.99MB/s...

View Article

Answer by Jon for How can I view a progress bar when running rsync?

rsync has a --info option that can be used to not only output the current progress, but also the transfer rate and elapsed time:--info=FLAGS fine-grained informational verbosityThe explanation of how...

View Article


Answer by Joseph Smith for How can I view a progress bar when running rsync?

This finally worked:rsync "$rsync_param" -a --prune-empty-dirs --exclude "*.iso" rsync://archive.ubuntu.com/ubuntu/indices/ /repo/ubuntu/indices | pv -lep -s $(rsync "$rsync_param"n...

View Article

Answer by A.B. for How can I view a progress bar when running rsync?

How about this?rsync_param="-av"rsync "$rsync_param" a/ b |\ pv -lep -s $(rsync "$rsync_param"n a/ b | awk 'NF' | wc -l)$rsync_paramAvoids double input of parameters$(rsync "$rsync_param"n a/ b | awk...

View Article

How can I view a progress bar when running rsync?

I am using Ubuntu 12.04 as a repo and would like to view a progress bar when using rsync from the command line. I tried the option suggested in this article (-P), but I prefer to see a progress bar and...

View Article

Browsing all 8 articles
Browse latest View live




Latest Images