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

Høst vpsink at gmail.com
Mon May 26 00:21:01 UTC 2014


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 at hoest:~$ which mv
/usr/local/bin/mv
hoest at 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
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/64067

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

Status in “coreutils” package in Ubuntu:
  Triaged
Status in “coreutils” package in Debian:
  Won't Fix
Status in “coreutils” package in Fedora:
  In Progress

Bug description:
  Binary package hint: coreutils

  Hello.
  First sorry for my english, but it is not my native langage.

  I'm a shelluser, and in my every day utilisation I copy and move some files, and some of them are big (>500Mo for example). So i was searching for progress bar with indication of the pourcentage and something like 34Mo/400Mo, like wget. On linuxfr.org (http://linuxfr.org/~pascalscl/13847.html) i found a discution about that, and i discover a secret option for 'cp' : the -g (for --gauge). I discover too a bug report about that on the archive of the Bug-coreutils mailing list (http://www.mail-archive.com/bug-coreutils@gnu.org/msg00610.html).
  But it appear that this patch isn't present in the various release of coreutils on Ubuntu.

  I know that isn't a bug, and I know that isn't a vital part of the
  coreutils. But I'm persuaded that the gauge is an interesant evolution
  for the tools 'cp' and 'mv'. For all the shelluser around the world i
  think it will be a good comfort to facilitate their utilisation of the
  shell.

  So my question is : what about a future integration of a progress bar
  in some tools in the coreutils ?

  Thank you for your patience :)

  Regards.

  Hari Seldon (illovae)

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



More information about the foundations-bugs mailing list