From dfe6055e54599264670505260f0229da50d7041f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 28 Feb 2021 00:13:29 -0500 Subject: [PATCH] Add -J to scp alias Means omit mtime updates on symlinks -- always throws an error otherwise. --- config/zsh/aliases.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/zsh/aliases.zsh b/config/zsh/aliases.zsh index 33dbb54d..564370e5 100644 --- a/config/zsh/aliases.zsh +++ b/config/zsh/aliases.zsh @@ -23,7 +23,7 @@ alias reboot='sudo reboot' # A rsync that respects gitignore rcp() { - rsync -azP --delete --delete-after \ + rsync -azPJ --delete --delete-after \ --include=.git/ \ --filter=':- .gitignore' \ --filter=":- $XDG_CONFIG_HOME/git/ignore" \