1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 08:20:09 +00:00
ohmyzsh/plugins/rsync/rsync.plugin.zsh

16 lines
269 B
Bash
Raw Normal View History

2011-06-15 14:15:52 +00:00
function copy {
rsync -av --progress -h "$1" "$2"
}
function move {
rsync -av --progress -h --remove-source-files "$1" "$2"
}
function update {
rsync -avu --progress -h "$1" "$2"
}
function synchronize {
rsync -avu --delete --progress -h "$1" "$2"
}