cp plugin: show numbers in units of 1024 (K,M,G,T)

Use `-h` level (3): output numbers in units of 1024.
See the manpage of rsync for more information.
This commit is contained in:
Marc Cornellà 2016-09-20 21:42:06 +02:00
commit 6f04cda193

View file

@ -12,6 +12,6 @@
# -- - everything after this is an argument, even if it looks like an option
cpv() {
rsync -poghb --backup-dir=/tmp/rsync -e /dev/null --progress -- "$@"
rsync -pogb -hhh --backup-dir=/tmp/rsync -e /dev/null --progress -- "$@"
}
compdef _files cpv