bin/144531: [patch] cp(1) show percentage complete
jhell at DataIX.net
Tue Aug 24 12:42:32 UTC 2010
On 08/24/2010 07:36, Alexander Best wrote:
> On Tue Aug 24 10, Andy Farkas wrote:
>> On Tue, Aug 24, 2010 at 12:30 PM, Alexander Best <arundel at freebsd.org> wrote:
>>> i don't think the original patch you submitted will be accepted by any
>>> developer since it breaks the behaviour of `cp -v`. you might want to add a new
>>> switch to trigger the extra output from your patch. just be sure you don't use
>>> any switch that's already taken by POSIX .
>> Any chance of `cp -vv` -> `be more verbose`?
> that would be an option or using a completely dfferent switch (like -V e.g.).
> the problem is not tech related, but community related. if anybody feels `cp`
> needs this patch, he/she should start a discussion on one of the mailinglists i
> mentiooned beforehand.
>> ps. I've been using this patch for some time and think it quite useful during
>> interactive work.
This is what textproc/bar is for & built-in shell aliases.
$ bar -o /path/to/output/file /path/to input file.
See: http://www.theiling.de/projects/bar.html for example usage.
Even with the above I am not saying the patch is wrong in any way but
'-vv' has my vote if it is committed and I am downloading the patch
locally right now. Normally I would just use rsync if I wanted the
output while copying files to track percentage but this is not really
that bad of an addition especially if it can also make its way to mv(1) too.
Thanks & Good Luck,
More information about the freebsd-bugs