mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-04-24 07:13:28 +02:00
rsync: add plugin
This commit is contained in:
@@ -0,0 +1,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"
|
||||
}
|
||||
Reference in New Issue
Block a user