]>
git.rmz.io Git - dotfiles.git/blob - zsh/plugins/cp/cp.plugin.zsh
1 #Show progress while file is copying
4 # -p - preserve permissions
7 # -h - output in human-readable format
8 # --progress - display progress
9 # -b - instead of just overwriting an existing file, save the original
10 # --backup-dir=/tmp/rsync - move backup copies to "/tmp/rsync"
11 # -e /dev/null - only work on local files
12 # -- - everything after this is an argument, even if it looks like an option
14 alias cpv
="rsync -poghb --backup-dir=/tmp/rsync -e /dev/null --progress --"