Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2010 08:42:26 -0400
From:      jhell <jhell@DataIX.net>
To:        Alexander Best <arundel@freebsd.org>
Cc:        Andy Farkas <chuzzwassa@gmail.com>, freebsd-bugs@freebsd.org
Subject:   Re: bin/144531: [patch] cp(1) show percentage complete
Message-ID:  <4C73BE32.20109@DataIX.net>
In-Reply-To: <20100824113644.GA81268@freebsd.org>
References:  <201008240230.o7O2U4aR098753@freefall.freebsd.org> <AANLkTin_HFFao1KpZx6MeUQeU_QdAN55z=fy8UoD4kK-@mail.gmail.com> <20100824113644.GA81268@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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 [1].
>>
>> 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.
> 
> cheers.
> alex
> 
>>
>> -andyf
>>
>> 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,

-- 

 jhell,v



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C73BE32.20109>