]> git.rmz.io Git - dotfiles.git/blob - zsh/plugins/cp/cp.plugin.zsh
add xbindkeysrc
[dotfiles.git] / zsh / plugins / cp / cp.plugin.zsh
1 #Show progress while file is copying
2
3 # Rsync options are:
4 # -p - preserve permissions
5 # -o - preserve owner
6 # -g - preserve group
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
13
14 alias cpv="rsync -poghb --backup-dir=/tmp/rsync -e /dev/null --progress --"