3 This plugin defines a `cpv` function that uses `rsync` so that you
4 get the features and security of this command.
6 To enable, add `cp` to your `plugins` array in your zshrc file:
14 The enabled options for rsync are:
16 - `-p`: preserves permissions.
18 - `-o`: preserves owner.
20 * `-g`: preserves group.
22 * `-b`: make a backup of the original file instead of overwriting it, if it exists.
24 * `-r`: recurse directories.
26 * `-hhh`: outputs numbers in human-readable format, in units of 1024 (K, M, G, T).
28 * `--backup-dir="/tmp/rsync-$USERNAME"`: move backup copies to "/tmp/rsync-$USERNAME".
30 * `-e /dev/null`: only work on local files (disable remote shells).
32 * `--progress`: display progress.