Add -J to scp alias

Means omit mtime updates on symlinks -- always throws an error
otherwise.
This commit is contained in:
Henrik Lissner 2021-02-28 00:13:29 -05:00
parent 699e272643
commit dfe6055e54

View file

@ -23,7 +23,7 @@ alias reboot='sudo reboot'
# A rsync that respects gitignore # A rsync that respects gitignore
rcp() { rcp() {
rsync -azP --delete --delete-after \ rsync -azPJ --delete --delete-after \
--include=.git/ \ --include=.git/ \
--filter=':- .gitignore' \ --filter=':- .gitignore' \
--filter=":- $XDG_CONFIG_HOME/git/ignore" \ --filter=":- $XDG_CONFIG_HOME/git/ignore" \