Atomic file rewrites compatible with --temp-dir
#651
Unanswered
alopatindev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks for making the legendary software.
I'd like to store temporary files in a separate directory but on the same mountpoint as the destination directory.
man 1 rsync
states "--temp-dir ... rsync will not be able to rename each received temporary file over the top of the associated destination file, but instead must copy it into place"Is it possible to achieve the same behavior but with file renaming rather than copying?
The reason why I want to do that is
nginx
(due to automatic config check + reload withinotifywait
for instance)blabla.d/.blabla.conf.XXXXXX
is a real configuration file on the next automatic reload attempt)Beta Was this translation helpful? Give feedback.
All reactions