mirror of
https://github.com/jarun/advcpmv.git
synced 2026-02-01 13:17:41 +01:00
16
README.md
16
README.md
@@ -1,6 +1,6 @@
|
||||

|
||||
|
||||
## Advanced Copy ##
|
||||
## Advanced Copy
|
||||
|
||||
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.
|
||||
|
||||
@@ -11,16 +11,20 @@ advcpmv-0.5-8.21.patch was the last patch released by the author (on February 14
|
||||
## Build instructions
|
||||
|
||||
Requires the following dependencies:
|
||||
|
||||
- patch
|
||||
- gcc
|
||||
|
||||
Run the following command to download, patch, compile coreutils and generate the files: `./advcpmv/advcp` and `./advcpmv/advmv`.
|
||||
|
||||
Bash:
|
||||
|
||||
```
|
||||
curl https://raw.githubusercontent.com/jarun/advcpmv/master/install.sh --create-dirs -o ./advcpmv/install.sh && (cd advcpmv && sh install.sh)
|
||||
```
|
||||
|
||||
Fish:
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
@@ -54,17 +58,21 @@ sudo mv ./advcpmv/advmv /usr/local/bin/
|
||||
```
|
||||
|
||||
Bash:
|
||||
|
||||
```
|
||||
echo alias cp '/usr/local/bin/advcp -g' >> ~/.bashrc
|
||||
echo alias mv '/usr/local/bin/advmv -g' >> ~/.bashrc
|
||||
echo -e 'alias cp=\x27/usr/local/bin/cpg -g\x27' >> ~/.bashrc
|
||||
echo -e 'alias mv=\x27/usr/local/bin/mvg -g\x27' >> ~/.bashrc
|
||||
```
|
||||
|
||||
Fish:
|
||||
|
||||
```
|
||||
echo alias cp '/usr/local/bin/advcp -g' >> ~/.config/fish/config.fish
|
||||
echo alias mv '/usr/local/bin/advmv -g' >> ~/.config/fish/config.fish
|
||||
```
|
||||
```
|
||||
|
||||
```
|
||||
## Upstream merge
|
||||
|
||||
The original author sent the patch to the team, that maintains the GNU CoreUtils. They won't merge this patch, because mv and cp are feature complete.
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user