Generate and Diff is an Obsidian plugin designed for a specific purpose: to generate notes of your file tree across multiple devices and compare them to identify differences.
I developed this plugin to assist Obsidian users who rely on syncing services in pinpointing files that failed to transfer successfully between devices. This is an opinionated plugin, meaning you cannot change any of the settings or customize it.
Please note that this plugin is designed for troubleshooting purposes only and does not resolve syncing issues.
The Obsidian Core Plugin Command Palette is required to be enabled to use this plugin.
Perform the following steps for each device you wish to generate a note for:
- Open the command palette and search for Generate.
- Choose
Generate and Diff: Generate File List
. - The plugin will create a note with your current device's file tree in the top-level folder
generate-and-diff
. It will create the folder if it doesn't exist.
After generating the files for comparison from each device, follow these steps on one device:
- Open the command palette and search for Compare.
- Choose
Generate and Diff: Compare Files
. - The plugin will create a note with the differences between each device's file tree in
generate-and-diff/results
. It will create the folder if it doesn't exist.
To ensure a fresh start for the next comparison, delete the generate-and-diff
directory when you have completed your comparison.
This plugin needs one more revision before I will add it to the community store. Until then, it can be installed with BRAT.
- Install BRAT from the Obsidian community store.
- Enable BRAT.
- Go to BRAT settings
- Under Beta Plugin Settings select Add Beta plugin.
- Paste in the link to this repository.
https://github.com/sigrunixia/generate-and-diff-in-Obsidian
- BRAT will say the plugin has been registered.
- Go to Community Plugins and confirm Generate and Diff is toggled on.
Ebullient, who provided me a space to learn in peace, and a constant source of encouragement.
Javalent, for being willing to answer questions, no matter how mundane.
Github Copilot, for being so good that I had to turn it off so I can actually learn something.