Like I mentioned in [[Workflow]], I draft writing in a private vault, and then move it across to this vault which I publish from.
It's a bit more comfortable that way, so I don't accidentally publish something I don't want to.
But it is uncomfortable to have to copy-paste the markdown, or find the iCloud drive path and `cp` it across directories.
Instead of having to deal with that, I figured it would be straightforward to write a quick Obsidian plugin to show a simple copy-between-directories interface.
Turns out, writing an Obsidian plugin is really easy.
[Vault Mirror](https://github.com/cishiv/vaultmirror?tab=readme-ov-file)
It's good enough!
### Possible Extensions
- Could I hook into Publish and run publish actions directly from my plugin?
- Maintaining directory / folder structure would be good as an optional toggle.
- Styling?
- File explorer to select the source and target destinations.