Add -J to scp alias
Means omit mtime updates on symlinks -- always throws an error otherwise.
This commit is contained in:
parent
699e272643
commit
dfe6055e54
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue