Linux cp/mv 命令添加进度条

https://www.tecmint.com/advanced-copy-command-shows-progress-bar-while-copying-files/

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
export FORCE_UNSAFE_CONFIGURE=1
./configure
make
 
cp src/cp /usr/local/bin/cp
cp src/mv /usr/local/bin/mv
 
alias cp='cp -gr'
alias mv='mv -g'
  • linux/others/cp_mv进度条.txt
  • 最后更改: 2019/04/16 18:31
  • (外部编辑)