I would like to have an option that disables the temporary file creation and
immediatly creates the destination file.
Thus: when rsync determines a new copy should be made, that it will be made
instantly without any creation of temporary files.
The problem i have is that i use rsync to sync a large directory structure (1
million files) and that the rename action sometimes is not allowed. So the
copied file gets deleted. I think this problem would be solved if there would
be no rename call.
If the rename fails, rsync resorts to copying the file. If that fails, it is
doubtful that a copy that does not use a temp file to begin with would succeed
However, feel free to try the latest CVS version with patches/inplace.diff
change applied. Either grab the source via the "cvs" command, or snag the
latest nightly tar file from the web site. Then run these commands:
patch -p0 <patches/inplace.diff
If you have yodl installed, run this too:
You can then try the --inplace option.
Note that I checked-in the --inplace option for rsync, so you can try it out by
either checking out the CVS version or by grabbing the latest nightly tar file
from the website.