# Advanced Copy and Move

Advanced Copy and Move is a patched build of GNU cp and mv that adds a progress bar and detailed transfer output to file copy and move commands. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/4099/advanced-copy-and-move

## Description

Advanced Copy and Move is a patched build of GNU cp and mv that adds a progress bar and detailed transfer output to file copy and move commands. It installs enhanced versions of the standard Linux cp and mv binaries (named cpg and mvg) so homelab administrators can monitor long-running copy and move operations in real time.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

63/100 (Good), based on 4 of 5 factors.
- Maintained: 77 (last commit 20 days ago)
- Popular: 63 (1,436 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 75 (no serious findings)

## Links

- Unraid: https://ca.unraid.net/apps/advanced-copy-and-move-1vbhv7y1j8xgju?q=Advanced%20Copy%20and%20Move
- GitHub: https://github.com/jarun/advcpmv

## Common questions

### How can I install a specific older version of Advanced Copy and Move?

Pass the desired advcpmv and coreutils versions as arguments to install.sh, for example sh install.sh 0.8 8.32. You can also pass a patch file name, and the script infers the versions from it.

### How can I keep the normal cp and mv commands as the default?

You can define cp and mv shell functions that call /usr/local/bin/advcp -g or /usr/local/bin/advmv -g only when the first argument is -g. Otherwise they fall back to the system commands using command cp or command mv.

### Why does the progress bar disable reflink?

The progress bar does not work with reflink, which was introduced in coreutils v9.0 and later. When the progress bar is used, reflink is disabled, while it is left unchanged otherwise.

### Why does the unRAID plugin progress bar jump from 0 to 100% for each file?

With the newer copy method, the patch can no longer track progress for individual file copies. It therefore jumps from 0 to 100% and back to 0 for each new file.

---
Source: Our Local Host (https://ourlocalhost.com/app/4099/advanced-copy-and-move), the self-hosted and open-source app directory.
