rsync.plugin.zsh 269 Bytes
Newer Older
meh's avatar
meh committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"
}