[email protected] wrote:
>> Have you considered using rsync?
>> Is there some reason you require this functionality in cp?
>
> Rsync is not in coreutils and is not always installed.

If rsync is not installed, perhaps you can install it.
At worst, you can build it yourself.

> Yes you can use rsync, use pv with pipe, use dd or any other way to copy 
> files.
> But people are used to type 'cp' when they want to copy file.
> And Ctrl+T to show what file is coping now and % left would be nice.

If you really need to know what a cp process is doing,
you can also run strace on it.

Or, if some cp process is taking too long for a particular file,
you can even set up a progress bar after the fact: search for
"phantom progress bar".

Sorry, but even catching a signal and printing status the way dd does
seems unwarranted: there are already so many other ways to get
more/better progress displays.

Reply via email to