News for hackers. Stuff that matters.
Re:Rsync, GUIs, power, control, design, and decisions by sirn on Tuesday July 09, 2019 @02:53PM (#20395334)
--info=progress2 actually gives you the progress of the whole transfer (but I don't think you can do both). You can use --info=name0,progress2 if you don't care about individual files scrolling the terminal.
Re:Rsync, GUIs, power, control, design, and decisions by klodolph on Tuesday July 09, 2019 @05:32PM (#20396858)
Seems like this user-hostile interface could have been averted if they gave rsync a "porcelain" mode, since --progress is frozen so it doesn't break scripts.
Re:Rsync, GUIs, power, control, design, and decisions by darkpuma on Tuesday July 09, 2019 @05:46PM (#20396996)
I think you're really exaggerating the severity of what is fundamentally just a minor matter of personal taste.

(I say this as somebody who's written a GUI wrapper around rsync to, among other things, implement my own progress bar. So I agree with the general principle of writing porcelain around rsync.) (Incidentally --progress has actually changed in a way that breaks (my) scripts in the past; the version that ships with MacOS and the latest version exhibit different behavior by default. It would be nice if there was a better way. If rsync followed the ffmpeg model of foremost being a library with a standard command line interface, I think that could be ideal.)