[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: progress bar in cp

From: Jim Meyering
Subject: Re: progress bar in cp
Date: Fri, 12 Aug 2011 17:26:41 +0200

address@hidden 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

[Prev in Thread] Current Thread [Next in Thread]