c5a01fe422c0b511be5972735b1dd9ac22a82dff
- Author
- meh <meh@paranoici.org>
- Committer
- meh <meh@paranoici.org>
- Date
Diff
1diff --git a/plugins/rsync/rsync.plugin.zsh b/plugins/rsync/rsync.plugin.zsh
2new file mode 100644
3index 0000000000000000000000000000000000000000..5e28f346c8713c8d292dc2d85882596030395c1a
4--- /dev/null
5+++ b/plugins/rsync/rsync.plugin.zsh
6@@ -0,0 +1,15 @@
7+function copy {
8+ rsync -av --progress -h "$1" "$2"
9+}
10+
11+function move {
12+ rsync -av --progress -h --remove-source-files "$1" "$2"
13+}
14+
15+function update {
16+ rsync -avu --progress -h "$1" "$2"
17+}
18+
19+function synchronize {
20+ rsync -avu --delete --progress -h "$1" "$2"
21+}