Timeline for Showing total progress in rsync: is it possible?
Current License: CC BY-SA 4.0
22 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 22, 2023 at 14:34 | comment | added | Abdull |
for recursive operations (e.g. with -a or -r ), the total progress can be misleading in rsync 3, as all nested files and subdirectories will only be discovered lazily/ad-hoc/during command execution. To get a complete estimate from the beginning, add the --no-inc-recursive option.
|
|
Dec 13, 2023 at 5:18 | comment | added | nikhilweee |
If you have multiple files and want a clean terminal with just an overall progress indicator, use --info=name0,progress2
|
|
Sep 21, 2021 at 7:06 | comment | added | Soheil |
rsync: --info=progress2: unknown option rsync error: syntax or usage error (code 1) at ...
|
|
Mar 22, 2021 at 22:26 | comment | added | Arsenal |
So combining the helpful comments I ended up with rsync -ah --no-i-r --info=progress2 source dest (and it makes a difference if there is a trailing / or not at the source)
|
|
S Jan 10, 2021 at 20:28 | history | suggested | Pang | CC BY-SA 4.0 |
Fixed dead link. Improved spelling, capitalization.
|
Jan 10, 2021 at 6:09 | review | Suggested edits | |||
S Jan 10, 2021 at 20:28 | |||||
Apr 22, 2020 at 10:59 | comment | added | klapeyron | Does it work with --files-from option? (when rsync downloading specified paths defined in txt file) | |
Jan 8, 2020 at 10:34 | vote | accept | Aron Rotteveel | ||
May 23, 2019 at 21:35 | comment | added | JohnMudd | Not very useful if only a few files have changed. | |
Feb 21, 2018 at 20:23 | comment | added | Josh Davenport-Smith |
For OSX with homebrew, brew tap homebrew/dupes is no longer needed as those formulae have been merged into the homebrew core repo. So now you only need to brew install rsync
|
|
Aug 23, 2017 at 10:22 | comment | added | Nux |
Note that you can use --human-readable (or -h ) to see total size in MB/GB.. in progress.
|
|
May 23, 2017 at 12:41 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Sep 8, 2016 at 18:39 | comment | added | Geremia |
Be sure not to use -v or -i , else individual files will be printed out
|
|
Nov 19, 2015 at 13:17 | comment | added | Alex |
Add the --no-i-r switch aswell, so rsync does not scan incrementally but completely before copying and knows+displays how much work is left.
|
|
Oct 14, 2015 at 11:12 | comment | added | LOKESH | But incremental backup not show correct progressbar | |
S May 21, 2015 at 1:36 | history | suggested | dpb | CC BY-SA 3.0 |
This version is out now, edit answer to reflect.
|
May 20, 2015 at 21:56 | review | Suggested edits | |||
S May 21, 2015 at 1:36 | |||||
May 9, 2015 at 21:17 | comment | added | Sopalajo de Arrierez | Option added to the stable version (version 3.1.0 protocol version 31) as for today. Maybe you could edit yuor answer, Avio. | |
May 2, 2015 at 19:16 | comment | added | Milos Ivanovic | @sanmai: Yes it does! It displays verbose output (which file is being worked on at the current time), but instead of showing the relative progress percentage for that individual file, it shows the absolute progress of the entire rsync operation. | |
Mar 8, 2015 at 15:09 | comment | added | sanmai |
Worth noting that --info=progress2 doesn't work with -v
|
|
Nov 28, 2013 at 21:11 | comment | added | Kevin Cox | Note that this has landed in 3.1.0. It is also important to note that this isn't necessarily accurate in the time perspective. It is essentially showing the amount of data that has been verified to exist on the remote end. And the rate is the rate at which the data is being learned to be correct on the remote end (whether it was already that way or the new data was transferred and made it correct). So although very useful you need to understand the caveats. | |
Oct 24, 2012 at 11:13 | history | answered | Avio | CC BY-SA 3.0 |