On Mon, Jul 15, 2002 at 03:58:47PM +0200, kza wrote: > I am working on a patch to cp (and eventually mv) that provides a status > output with speed and eta etc. This is standard with most gui file > managers etc, but belongs in cp too. How many times have you stared > wating for a long network copy, only to realise much later, that the > server or network went down?
Could be useful when using unreliable systems... > I know its got a long way to go before it is acceptable by GNU, (if it > will be accepted at all). > > I just want some comments at this stage, I am still working on it. > > Oh. It patches against GNU fileutils 4.1 and is found here: > > http://cratos.ath.cx/~kza/cp.patch It is activated with the -o flag. > > I am posting here in case anyone wants to try this patch and can give me > constructive criticism. > > Debate as to whether this belongs in GNU fileutils is also appreciated. I'd definitely say that it shouldn't be a part of the normal cp. You could have a super-cp akin to the super-ls that some people use which has colours support. There's already default output of speeds when using dd: % dd if=/dev/urandom of=/dev/null count=1000 1000+0 records in 1000+0 records out 512000 bytes transferred in 22.960 secs (22300 bytes/sec) But I'm assuming you're trying to show stuff in realtime -- which could screw up anything interactive. And GNU utilities are already bloated as-is. Actually, that reminds me... has anybody tried GIT? GNU Interactive Tools? Ben.
