linux:misc:cp_mv_progress_bar

Progresbar on cp and mv commands

wget http://ftp.gnu.org/gnu/coreutils/coreutils-8.21.tar.xz
tar xvJf coreutils-8.21.tar.xz
cd coreutils-8.21/
wget https://raw.githubusercontent.com/atdt/advcpmv/master/advcpmv-0.5-8.21.patch
patch -p1 -i advcpmv-0.5-8.21.patch
./configure
make

You might get the following error, while running “./configure” command.

checking whether mknod can create fifo without root privileges... configure: error: in `/home/tecmint/coreutils-8.21':
configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
See `config.log' for more details

Run the following command on the terminal to fix that error and run the “./configure” command again.

export FORCE_UNSAFE_CONFIGURE=1

Compiled files are in src directory

  • linux/misc/cp_mv_progress_bar.txt
  • Last modified: 2019/10/31 09:05
  • by 127.0.0.1