Commit 1d17502a authored by meh's avatar meh
Browse files

rsync: add rsync- prefixes and use aliases

parent c5a01fe4
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"
}
alias rsync-copy="rsync -av --progress -h"
alias rsync-move="rsync -av --progress -h --remove-source-files"
alias rsync-update="rsync -avu --progress -h"
alias rsync-synchronize="rsync -avu --delete --progress -h"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment