Hello! I've upgraded from sys-apps/coreutils-5.2.1-r7 to sys-apps/coreutils-5.94-r1 recently. Some time later I noticed that "mv -g" doesn't show the progress bar anymore and "mv --progress" doesn't work either. Thats why I'm reporting this bug. BTW: I know "-g" is not in the man-page but that's because Gentoo uses the manpage from the man-pages package, not from coreutils (see http://bugs.gentoo.org/show_bug.cgi?id=105188).
`mv -g` seems to only work with large files ... it wont show for small ones
well, according to original author, this is by design ... but i consider it a bug so i'll clean up the code ;)
Well I know it usually only works for large files, but in my case, it didn't work at all (I copied a 1GB file!). A friend of mine has the same problem, but he was too lazy to file a bug :( So I'm not the only one where it doesn't work.
BTW: "cp -g" still works as usual here, might be of interest if the initial patch was included in both tools.
hmm, where are you moving the files ? if you move the files on the same partition, then there wont be a progress bar as the move is instantaneous (done via a rename() rather than a copy())
Yes I know; I moving to a mounted samba share.
you could try 5.94-r3 ... i cleaned up the progress patch in that version note that if the file takes less than 5 seconds to transfer, the progress bar may not come up
No, it still doesn't work. Copying the file took 28 seconds, but nothing showed up.
Any Update? It still does not work with: * sys-apps/coreutils Installed: 5.96 Tobi
latest version works for me, so there's nothing i can really do over here
Created attachment 94962 [details, diff] + Initalize pbar_{show,delay,min_est} in cp_option_init() in mv.c It looks like the problem is that the pbar-variables pbar_{show,delay,min_est} are only initalized in rm_option_init(), not cp_option_init().
added to cvs, thanks !
Thank you very much for the patch! I'll have a try when I am at home.