[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2017-10-27 Thread Bug Watch Updater
Launchpad has imported 13 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=237553.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2007-04-23T19:08:40+00:00 Jeremy wrote:

There are a lot of cases when you're copying something locally that being able
to have a progress indicator like you get with scp or rsync would be nice.  And
rather than writing Yet Another Utility, it seems like the right thing to do is
for cp to provide the functionality.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/64067/comments/19


On 2007-04-23T20:43:19+00:00 Jim wrote:

Hi Jeremy,
Many people have requested this, over the years, and there are probably a few
complete patch sets implementing it.  Why do you think it's best to add this to
cp, when you can already use rsync as a cp-replacement?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/64067/comments/20


On 2007-04-23T20:48:52+00:00 Jeremy wrote:

(In reply to comment #1)
> Many people have requested this, over the years, and there are probably a few
> complete patch sets implementing it.  Why do you think it's best to add this 
> to
> cp, when you can already use rsync as a cp-replacement?

Because then you have a dependency on rsync instead of cp... cp is pretty much
guaranteed to exist, rsync not as much.  Also, rsync is in /usr/bin whereas cp
is in /bin.  And rsync is 5 times larger.

Given that a lot of the time you're going to care about text mode cp and
progress is in early boot, you want to avoid all of the above.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/64067/comments/21


On 2007-04-23T21:18:49+00:00 Jim wrote:

Well, consider that some folks want a GUI-oriented progress bar, and some want
text-only.  Some are happy to incur the cost of a curses library, others want
the minimal footprint and are happy with less eye candy.  We've hashed out all
of this, over the years, and came to the conclusion that if there is to be any
such thing associated with GNU cp (and mv, and dd, and maybe others, like
install), then the mechanism must be sufficiently generic to work with an
independent program that would be in charge of displaying the progress meter. 
Then, the core copying code needn't be polluted with code that some will never
want or use.  Here's a proposed implementation from 2004:
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/1663

Reply at:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/64067/comments/22


On 2007-04-23T21:24:12+00:00 Jeremy wrote:

(In reply to comment #3)
> Well, consider that some folks want a GUI-oriented progress bar, and some want
> text-only.  Some are happy to incur the cost of a curses library, others want
> the minimal footprint and are happy with less eye candy.  We've hashed out all
> of this, over the years, and came to the conclusion that if there is to be any
> such thing associated with GNU cp (and mv, and dd, and maybe others, like
> install), then the mechanism must be sufficiently generic to work with an
> independent program that would be in charge of displaying the progress meter. 
> Then, the core copying code needn't be polluted with code that some will never
> want or use.  Here's a proposed implementation from 2004:
> http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/1663

And at this point, you have entered well into the realm of over-engineering a
simple problem ;-)

If you're using curses, etc and wanting to show the output of cp, you're already
writing an app at which point the part of cp that are going to be cared about
aren't that hard to implement.  The value here is in being able to have a shell
script give some form of progress feedback as it copies a large file.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/64067/comments/23


On 2007-04-23T22:11:29+00:00 Jim wrote:

>From a distance, most problems look simpler than they are :-)

If you're interested in copying a single file, then maybe dd already provides
what you want?  From dd --help:

Sending a USR1 signal to a running `dd' process makes it
print I/O statistics to standard error and then resume copying.

  $ dd if=/dev/zero of=/dev/null& pid=$!
  $ kill -USR1 $pid; sleep 1; kill $pid
  18335302+0 records in
  18335302+0 records out
  9387674624 bytes (9.4 GB) copied, 34.6279 seconds, 271 MB/s

With that basis, a little 

[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2014-05-25 Thread Ubuntu Foundations Team Bug Bot
The attachment Compiled binaries with the progress bar included seems
to be a patch.  If it isn't, please remove the patch flag from the
attachment, remove the patch tag, and if you are a member of the
~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/64067

Title:
  a progress bar for 'cp' and 'mv'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/64067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2014-05-25 Thread Høst
Hello. There are a coreutils package with advanced cp and mv that can show 
the progress bar on file operations like copy/move. 
I installed it on my system and extracted the cp and mv binaries. 

hoest@hoest:~$ which mv
/usr/local/bin/mv
hoest@hoest:~$ which cp
/usr/local/bin/cp

You need to place the 2 binaries in that locations. After, put this 2
aliases in your .bashrc:

alias cp='/usr/local/bin/cp -g'
alias mv='/usr/local/bin/mv -g'

'-g' is the argument that tells to them command to show the progress
bar. Hope it works

** Attachment added: Compiled binaries with the progress bar included
   
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/64067/+attachment/4119571/+files/CPogMV.xz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/64067

Title:
  a progress bar for 'cp' and 'mv'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/64067/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2010-11-29 Thread C de-Avillez
For the record, the RH bug has been closed WONTFIX, here you have
Ondrej's comment:

Time to close that bugzilla...
Discussed many times on upstream list (see archives),
in bugzillas of other linux distributions (e.g.
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/64067
http://www.linux-archive.org/archlinux-development/167447-add-g-option-cp-mv.html
)

If you really want to have this behaviour, you could use some shell script
alias to get this. One of such scripts is available at
http://chris-lamb.co.uk/2008/01/24/can-you-get-cp-to-give-a-progress-bar-like-wget/
 . Closing WONTFIX.

I will keep this bug open only because upstream will look at a
*generic*, usable-everywhere solution. But -- unless you intend to code
it, please do not expect any coreutils-implemented solution anytime soon
(if at all). There are other ways of getting it (see Ondrej's comment
above.

** Changed in: coreutils (Ubuntu)
   Status: Confirmed = Triaged

-- 
a progress bar for 'cp' and 'mv'
https://bugs.launchpad.net/bugs/64067
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2010-11-27 Thread hackeron
Anything? :)

-- 
a progress bar for 'cp' and 'mv'
https://bugs.launchpad.net/bugs/64067
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2009-10-02 Thread hackeron
I can't find an example that will show the overall progress of
recursively copying a directory? - Anyone?

Rsync shows progress per file and an overall filecount, but is there
anything that will show overall progress for size?

-- 
a progress bar for 'cp' and 'mv'
https://bugs.launchpad.net/bugs/64067
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2009-01-20 Thread Savvas Radevic
** Also affects: coreutils (Fedora) via
   https://bugzilla.redhat.com/show_bug.cgi?id=237553
   Importance: Unknown
   Status: Unknown

-- 
a progress bar for 'cp' and 'mv'
https://bugs.launchpad.net/bugs/64067
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2009-01-20 Thread Savvas Radevic
Also, there's an example with pv command:
http://www.debianadmin.com/pv-pipe-viewer-shell-pipeline-element-to-meter-data-passing-through.html

Or a bash script:
http://chris-lamb.co.uk/2008/01/24/can-you-get-cp-to-give-a-progress-bar-like-wget/

-- 
a progress bar for 'cp' and 'mv'
https://bugs.launchpad.net/bugs/64067
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2009-01-20 Thread Bug Watch Updater
** Changed in: coreutils (Fedora)
   Status: Unknown = In Progress

-- 
a progress bar for 'cp' and 'mv'
https://bugs.launchpad.net/bugs/64067
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2008-10-13 Thread Kamil Dudka
It is suggested to use rsync as cp replacement in such cases - consider
this bug: https://bugzilla.redhat.com/show_bug.cgi?id=237553

-- 
a progress bar for 'cp' and 'mv'
https://bugs.launchpad.net/bugs/64067
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2008-09-30 Thread hggdh
This option(s) have been suggested upstream for quite some time now;
last one was at about end of 2007. If something is to be done for a
progress bar on cp, rm, mv, etc, it should, indeed, be upstream.

You can contact upstream at [EMAIL PROTECTED]

-- 
a progress bar for 'cp' and 'mv'
https://bugs.launchpad.net/bugs/64067
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2007-08-24 Thread Bug Watch Updater
** Changed in: coreutils (Debian)
   Status: Confirmed = Won't Fix

-- 
a progress bar for 'cp' and 'mv'
https://bugs.launchpad.net/bugs/64067
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2007-04-04 Thread Micah Cowan
I think such a feature should possibly be enabled via a long-option
only. This should drastically decrease the likelihood of conflicting
with cp/mv from other OSses. (My 2¢.)

-- 
a progress bar for 'cp' and 'mv'
https://bugs.launchpad.net/bugs/64067
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2006-10-05 Thread Bug Watch Updater
** Changed in: coreutils (Debian)
   Status: Unknown = Confirmed

-- 
a progress bar for 'cp' and 'mv'
https://launchpad.net/bugs/64067

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2006-10-05 Thread Andreas Simon
It would be bad if Ubuntu introduces some -g option and then later
upstream uses -g for something else. Having different options in
coreutils in various distros is not good. This should be done upstream.

-- 
a progress bar for 'cp' and 'mv'
https://launchpad.net/bugs/64067

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2006-10-05 Thread Hari Seldon
Yes it's true, the best will be to integrate the option -g in all
coreutils for all the distribution of GNU/Linux and derivated. But how
can we contact the developers of coreutils ? And can an end-shell-user
can be allowed to do this without appear insulting opposite to their
labor ?

-- 
a progress bar for 'cp' and 'mv'
https://launchpad.net/bugs/64067

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2006-10-04 Thread effraie
i comfirm ;)

-- 
a progress bar for 'cp' and 'mv'
https://launchpad.net/bugs/64067

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2006-10-04 Thread Scott Bronson
So long as it isn't on by default (so shell scripts don't get messed
up), I'm all for it.  I'd love to see this.

-- 
a progress bar for 'cp' and 'mv'
https://launchpad.net/bugs/64067

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2006-10-04 Thread Daniel Robitaille
By the way, this was asked in the past in Debian (for cp)  and
rejected.


** Changed in: coreutils (Ubuntu)
   Importance: Undecided = Wishlist
   Status: Unconfirmed = Confirmed

** Bug watch added: Debian Bug tracker #185152
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185152

** Also affects: coreutils (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185152
   Importance: Unknown
   Status: Unknown

-- 
a progress bar for 'cp' and 'mv'
https://launchpad.net/bugs/64067

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2006-10-04 Thread effraie
why was it rejected?

-- 
a progress bar for 'cp' and 'mv'
https://launchpad.net/bugs/64067

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2006-10-04 Thread Daniel Robitaille
No reasons were given in the Debian bug report about the rejection.

-- 
a progress bar for 'cp' and 'mv'
https://launchpad.net/bugs/64067

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 64067] Re: a progress bar for 'cp' and 'mv'

2006-10-04 Thread Laurent Bigonville
I think this should be done upstream...

-- 
a progress bar for 'cp' and 'mv'
https://launchpad.net/bugs/64067

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs