Note that WeeWX code will add the slash if it is a directory. See code snippet below. # If the source path ends with a slash, rsync interprets # that as a request to copy all the directory's *contents*, # whereas if it doesn't, it copies the entire directory. # We want the former, so make it end with a slash. # Note: Don't add the slash if local_root isn't a directory if self.local_root.endswith(os.sep) or not os.path.isdir(self.local_root): rsynclocalspec = self.local_root else: rsynclocalspec = self.local_root + os.sep On Nov 15, 2022, at 7:33 AM, cric...@pobox.com <crich...@pobox.com> wrote: -- 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/E14937D0-EDC4-4C7B-9500-D716F41C09B4%40johnkline.com. |
- [weewx-user] Rsync Help or User Help :o) FIA Ranch
- [weewx-user] Re: Rsync Help or User Help ... vince
- [weewx-user] Re: Rsync Help or User H... FIA Ranch
- [weewx-user] Re: Rsync Help or Us... vince
- [weewx-user] Re: Rsync Help o... FIA Ranch
- [weewx-user] Re: Rsync H... vince
- [weewx-user] Re: Rsy... gszla...@gmail.com
- Re: [weewx-user]... Greg Troxel
- Re: [weewx-user]... cric...@pobox.com
- Re: [weewx-user]... 'John Kline' via weewx-user
- Re: [weewx-user]... FIA Ranch
- Re: [weewx-user]... cric...@pobox.com