GNOME Bugzilla – Bug 637543
Improve gvfs-copy and gvfs-move
Last modified: 2014-04-18 19:33:27 UTC
When gvfs-copy --progress is used at the commandline, the progress reporting overflows the display on a large file copy. Please quiet this display by replacing the g_print template \n with \r in the show_progress() function. This should overwrite the progress line with updated information and prevent the display overflow.
gvfs has nothing to do with gnome-vfs. Moving.
Created attachment 274570 [details] [review] gvfs-copy: Make the progress output usable Rather than spamming the screen with output, rate-limit the updates and make them display over each other.
Created attachment 274571 [details] [review] gvfs-copy: Improve the interactive overwrite Mimic the output of cp by displaying the full URI and put a space between the output and the user's input. Accept either lower or upper-case 'y'.
Created attachment 274572 [details] [review] gvfs-copy: Show progress for interactive copy If requested, show progress for an interactive copy.
Created attachment 274573 [details] [review] gvfs-move: Improve progress output Rather than spamming the screen with output, rate-limit the updates and make them display over each other. Also calculate the speed of transfer.
Created attachment 274574 [details] [review] gvfs-move: Improve the interactive overwrite Mimic the output of mv by displaying the full URI and put a space between the output and the user's input. Accept either lower or upper-case 'y'.
Created attachment 274575 [details] [review] gvfs-move: Show progress for interactive move If requested, show progress for an interactive move.
Looks all good to me
Pushed to master as d9b8dda613ba847b6696f58d5dccfff5bf5e0ad0. Thanks for the review, Matthias.