Check out the options in https://ss64.com/bash/rsync_options.htm <https://ss64.com/bash/rsync_options.html>l and see if you can make vanilla rsync from the shell do (or not do) what you want. If that doesn't solve it, I'd doubt weewx can help much there as a wrapper over rsync. The -u option might be what you're looking for possibly.
But the rsync uploader (rsyncupload.py) doesn't seem to have the ability to provide additional flags to the underlying rsync command. I'm sure Tom would appreciate a PR to add more functionality if you can figure out an incantation works and some more general purpose thing to add to weewx (possibly something like a rsync_options = "whatever" thing?). That said - if you're trying to use weewx as the source of the authoritative file to upload something, why would you externally mess with the file(s) on the far side after that ? I'm sure there's some use case you have but I can't think of a reason why it would be necessary.... On Thursday, March 21, 2024 at 9:34:27 AM UTC-7 Chris Alemany wrote: > And just to be complete, this is on weewx 5.0.2, pip install on Debian. > > On Thursday, March 21, 2024 at 9:19:55 AM UTC-7 Chris Alemany wrote: > >> Good morning all, >> >> I’m having some trouble with the weewx RSync report overwriting files >> that have changed on the remote side independent of weewx. Are there any >> provisions in the RSync report to exclude a list of files and/or folders >> (including in skins) or otherwise change the way the process operates so >> that files that exist on both ends but with a newer timestamp on the remote >> side don’t get overwritten by the older local file? >> Thanks very much >> >> Chris >> https://alberniweather.ca >> >> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/d848223c-fe8f-493b-999e-c839e25ed5e7n%40googlegroups.com.