Obsidian create name=X overwrite silently wipes file when content= argument is missing (data loss)

Sorry, I disagree with you. if you are using create with overwrite, I think should expect the file to be emptied if you don’t pass content (which is NOT mandatory in any case).

You can open a feature request asking for content to be mandatory in case of overwrite.

1 Like