The signature of c.backup_helper is: def backup_helper(self, base_dir=None, env_key='LEO_BACKUP', sub_dir=None):
c.backup_helper uses the LEO_BACKUP environment variable as the base of the save if it exists. Otherwise it uses the given base_dir directory. It does careful error checking and reporting. The body text of the following four @button backup nodes are all just one line: c.backup_helper(sub_dir='leoPy') # In leoPy.leo c.backup_helper(sub_dir='leoPlugins') # In leoPlugins.leo c.backup_helper(sub_dir='ekr-projects') # In ekr-projects.leo c.backup_helper(sub_dir='ekr') # In ekr.leo Yes, these scripts are simpler, and safer than before. More importantly changing LEO_BACKUP value will redirect all of them. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.