implemented create --progress#250
implemented create --progress#250ThomasWaldmann wants to merge 1 commit intojborg:masterfrom ThomasWaldmann:progress_indication
Conversation
shows original, compressed and deduped size plus path name. output is 79 chars wide, so 80x24 terminal does not wrap/scroll. long path names are shortened (in a rather simplistic way). output happens when a new item is started, but not more often than 5/s (thus, not every pathname is shown) at the end, the output line is cleared but not scrolled, so it basically vanishes.
|
can we get a screenshot / copy-paste of what this looks like? |
|
sure, here it is (window size is 80x24) - first image is while backup is running, second image is after completion. The one line you see is always overwritten (no scrolling). (O)riginal size (accumulated), (C)ompressed size (accumulated), (D)eduplicated size (accumulated), current Path/Filename. Space is a bit limited, must be 1 line and <= 79 chars, thus the very brief labelling. |
|
regarding the window size, programs running in a terminal will receive a |
|
ah and yes, that is of course platform-specific, which may mean messing around with (n)curses: http://stackoverflow.com/questions/5161552/python-curses-handling-window-terminal-resize fun stuff. |
|
closing this pull request, seems unwanted. |


shows original, compressed and deduped size plus path name.
output is 79 chars wide, so 80x24 terminal does not wrap/scroll.
long path names are shortened (in a rather simplistic way).
output happens when a new item is started, but not more often than 5/s
(thus, not every pathname is shown)
at the end, the output line is cleared but not scrolled, so it basically vanishes.