diff options
| author | Pedro Pereira <pedro.hr.pereira@proton.me> | 2026-10-16 15:19:13 -0300 |
|---|---|---|
| committer | Pedro Pereira <pedro.hr.pereira@proton.me> | 2026-10-16 15:19:13 -0300 |
| commit | 1eb69e9a795cc19450178c07d8d382622bc7ad70 (patch) | |
| tree | b6bc60605044fe929986f31b3b6bf4fee9b56e14 /.config/zsh/oh-my-zsh/plugins/cp/README.md | |
first commit
Diffstat (limited to '.config/zsh/oh-my-zsh/plugins/cp/README.md')
| -rw-r--r-- | .config/zsh/oh-my-zsh/plugins/cp/README.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.config/zsh/oh-my-zsh/plugins/cp/README.md b/.config/zsh/oh-my-zsh/plugins/cp/README.md new file mode 100644 index 0000000..2373424 --- /dev/null +++ b/.config/zsh/oh-my-zsh/plugins/cp/README.md @@ -0,0 +1,32 @@ +# cp plugin + +This plugin defines a `cpv` function that uses `rsync` so that you +get the features and security of this command. + +To enable, add `cp` to your `plugins` array in your zshrc file: + +```zsh +plugins=(... cp) +``` + +## Description + +The enabled options for rsync are: + +- `-p`: preserves permissions. + +- `-o`: preserves owner. + +* `-g`: preserves group. + +* `-b`: make a backup of the original file instead of overwriting it, if it exists. + +* `-r`: recurse directories. + +* `-hhh`: outputs numbers in human-readable format, in units of 1024 (K, M, G, T). + +* `--backup-dir="/tmp/rsync-$USERNAME"`: move backup copies to "/tmp/rsync-$USERNAME". + +* `-e /dev/null`: only work on local files (disable remote shells). + +* `--progress`: display progress. |
