There's this cool (potentially dangerous) plugin for Obsidian to execute system commands and scripts via hotkeys, command palette, automated events, and execution via URI links:
Export/import the file at $OBSIDIAN_VAULT/.obsidian/plugins/obsidian-shellcommands/data.json
Copy hotkeys from hotkeys-shellcommands.json to $OBSIDIAN_VAULT/.obsidian/hotkeys.json
- Create script to backup config
- Create script to restore it