x

Copy Vault to Tempdirectory

View code

This module will copy the configured Obsidian vault to a temporary directory and rewrite paths.json to use this directory instead of the configured Obsidian vault directory.

Copying your vault to a temporary directory prior to execution is useful to ensure no changes are made in your vault, either by bugs in the code, or by modules that need to write in the vault directory to make certain features possible.

If you have a very large vault, it might make sense to disable this module. It is recommended to use version control on your vault, such as git, or to make a backup prior to running obsidianhtml convert, to be able to restore your vault if anything were to go wrong.

Left-click: follow link, Right-click: select node, Scroll: zoom
x