So I use pelican for writing my blog and I upload the whole thing using rsync. OK.
But I use also Let's Encrypt and therefor need the repository .well-known preserved at the root of my website.
So is there a way I can say "rsync … –do-not-delete .well-known …"
Currently, those rep' are permission protected, but rsync doesn't like it.
Here is the current rsync command (installed by pelican itself, I did not write it) :
rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude
BTW : if you have also some suggestion to improve rsync efficiency, I take it (yes, it's off topic).
Best Answer
From
man rsync
So I think it should be
(assuming
.well-known
is at the root of$(SSH_TARGET_DIR)/
)