jarun/advcpmv là dự án mã nguồn mở trên GitHub với 1.4k sao, viết chủ yếu bằng Shell. A patch for GNU Core Utilities cp, mv to add progress bars
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Advanced Copy is a mod for the GNU cp and GNU mv tools which adds a progress bar and provides some info on what's going on. It was written by Florian Zwicke and released under the GPL.
This repository exists because the Advanced Copy website appears to be dead. You can still find it via the Internet Archive.
advcpmv-0.5-8.21.patch was the last patch released by the author (on February 14, 2013). Patches for newer releases are maintained in this project. Feel free to raise PRs for the most recent releases.
Patch files are named advcpmv-<patch version>-<coreutils version>.patch. The latest patch is advcpmv-1.0-9.12.patch. Every coreutils 9.x release (9.0 to 9.12) has a 1.0 patch, and all of them make the same changes.
[!note]
The original author submitted the patch to the team that maintains GNU CoreUtils. They said they will not merge this patch, because mv and cp are feature complete.
What's new in 1.0
The file counter ("N of M files") is right when copying or moving several operands and directories with files inside them. Before, only the first operand was counted.
Each file is counted once, and the final summary reports the number of files: N file(s) (size) copied/moved in time (speed/s).
mv no longer leaves blank lines above the summary when moving several files, and prints no summary when everything was just renamed on the same filesystem.
cp --version and mv --version show the patch version, e.g. cp (GNU coreutils) 9.12 + patch advcpmv 1.0.
The -g/--progress-bar option is documented in the coreutils manual (info coreutils) for every 9.x release, not only 9.10 and later.
Build instructions
Requires the following dependencies:
patch
gcc
texinfo (provides makeinfo; the patches for coreutils 9.x document --progress-bar in the manual, so the build regenerates it)
Run the following command to download, patch, compile coreutils and generate the files: ./advcpmv/advcp and ./advcpmv/advmv.
curl https://raw.githubusercontent.com/jarun/advcpmv/master/install.sh --create-dirs -o ./advcpmv/install.sh; and begin; cd advcpmv; and sh install.sh; end
To install a specific version, pass the patch version and the coreutils version as arguments to the install script (at the end of the command, before the closing parenthesis). For example, to install advcpmv-1.0-9.12.patch, the latest one, you would modify the command above like so.
... sh install.sh 1.0 9.12 ...
Older versions work the same way, e.g. sh install.sh 0.8 8.32 for advcpmv-0.8-8.32.patch.
Alternatively, if you have already cloned this repository, you can run install.sh with the path to one of the patch files as the only argument, and it will infer the advcpmv and coreutils versions from the filename.
sh install.sh advcpmv-0.8-8.32.patch
Usage
Copy the binaries in $PATH
Copy the binaries and use cpg -g and mvg -g instead of cp and mv:
The following functions work in Bash, Zsh, Ksh, Dash, and other POSIX-compatible shells. They keep the system cp and mv as the default and use Advanced Copy only when called with -g:
cp() {
if [ "$1" = "-g" ]; then
shift
/usr/local/bin/advcp -g "$@"
else
command cp "$@"
fi
}
mv() {
if [ "$1" = "-g" ]; then
shift
/usr/local/bin/advmv -g "$@"
else
command mv "$@"
fi
}
Fish does not support this function syntax; use the Fish aliases above instead.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/jarun/advcpmv là nguồn chính thức.
jarun/advcpmv có bao nhiêu sao?
jarun/advcpmv có 1.4k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/jarun/advcpmv. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
jarun/advcpmv có phải mã nguồn mở không?
Có — jarun/advcpmv phát hành theo license GPL-3.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/jarun/advcpmv.
jarun/advcpmv còn đang phát triển không?
Commit gần nhất trên jarun/advcpmv là 5 ngày trước (theo timestamp GitHub). Repo có 100 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
jarun/advcpmv là gì?
jarun/advcpmv (jarun/advcpmv) là dự án Shell trên GitHub. Theo mô tả gốc: A patch for GNU Core Utilities cp, mv to add progress bars
Đọc đầy đủ README ở tab phía trên.
Chưa chắc advcpmv có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về advcpmv.