[arch-dev-public] [Feature Request] add -g option for cp and mv

Tobias Powalowski t.powa at gmx.de
Sun Sep 28 09:24:11 EDT 2008


Am Sonntag 28 September 2008 schrieb Dan McGee:
> On Sun, Sep 28, 2008 at 7:22 AM, Roman Kyrylych
>
> <roman.kyrylych at gmail.com> wrote:
> > 2008/9/28 Andrea Scarpino <bash.lnx at gmail.com>:
> >> Hi DEVs,
> >> I saw '-g' option in copy and move commands in Gentoo.
> >> I want to request the same feauture for own coreutils package.
> >> I updated the gentoo patch [1] for coreutils 6.12, then I added the
> >> patch to PKGBUILD and it works.
> >>
> >> -g option add a progress bar like as wget style when copy or move files.
> >>
> >> $ cp -g iso/CoD_CD1.iso ~/Desktop/
> >> CoD_CD1.iso
> >>
> >>                                         |  33% |   656 MiB |    28
> >>
> >> MiB/s | ETA 00:00.15
> >>
> >> What do you think about?
> >>
> >> PS. I opened a FR [2] in bugs some minutes ago. You can get PKGBUILD and
> >> patch.
> >>
> >> Regards
> >>
> >> - [1]
> >> http://svn.pardus.org.tr/viewcvs/stable/pardus-1/system/base/coreutils/f
> >>iles/coreutils-gen-progress-bar.patch?revision=7276&root=pardus&view=mark
> >>up&pathrev=7276 - [2] http://bugs.archlinux.org/task/11603
> >
> > You risk to be flamed. ;-)
> > I doubt most devs will agree about this due to
> > "stay as close to vanilla as possible, with bugfixes only" policy.
> > This patch is just an extra feature, not merged by upstream.
> > And there are more generic ways to add progressbars to console utils.
> > For example:
> > bar - http://www.theiling.de/projects/bar.html
> > pv - http://www.ivarch.com/programs/pv.shtml
> > both are in community, and I saw 2 or 3 other similar utils somewhere
> > on the web.
>
> Same thought here. No need to patch coreutils from our end, this is
> upstream's job.
>
> -Dan
Introducing such things, might hold us in updating if upstream and patch 
doesn't fit together anymore.
-1 from my side

greetings
tpowa

-- 
Tobias Powalowski
Archlinux Developer & Package Maintainer (tpowa)
http://www.archlinux.org
tpowa at archlinux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://archlinux.org/pipermail/arch-dev-public/attachments/20080928/655f37e1/attachment.pgp>


More information about the arch-dev-public mailing list