f7948ace66dd541e5b60666d840cce6b6d95f0e6
- Author
- Tim Kelty <timkelty@gmail.com>
- Committer
- ncanceill <nicolas.canceill@ens-cachan.org>
- Date
Message
Adding compression to rsync commands
This speeds up transfers significantly. No reason not to include it as far as I know.
Diff
1diff --git a/plugins/rsync/rsync.plugin.zsh b/plugins/rsync/rsync.plugin.zsh
2index 33a31a5c10eb81fc17b8d6688dea1185844b892a..1a3bb4cc32ba950dcbf8e65c93af5cee316e37be 100644
3--- a/plugins/rsync/rsync.plugin.zsh
4+++ b/plugins/rsync/rsync.plugin.zsh
5@@ -1,4 +1,4 @@
6-alias rsync-copy="rsync -av --progress -h"
7-alias rsync-move="rsync -av --progress -h --remove-source-files"
8-alias rsync-update="rsync -avu --progress -h"
9-alias rsync-synchronize="rsync -avu --delete --progress -h"
10+alias rsync-copy="rsync -avz --progress -h"
11+alias rsync-move="rsync -avz --progress -h --remove-source-files"
12+alias rsync-update="rsync -avzu --progress -h"
13+alias rsync-synchronize="rsync -avzu --delete --progress -h"