Vault in OneDrive: deleted files are moved to the OneDrive root

Steps to reproduce

  • Freshly installed Obsidian, macOS system, official OneDrive client is running
  • Create the Vault inside the OneDrive folder, i.e. OneDrive > X > Obsidian
  • Create a note “Test”
  • The file appears on disk: OneDrive > X > Obsidian >
  • Delete the note from the Obsidian UI

Expected result is moved to the Bin

Actual result

Check OneDrive folder, the file is actually there: OneDrive >


Obsidian version: v1.1.16
Installer version: v1.1.16
Operating system: Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000 22.3.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on


Additional information

Basically, that’s it. It’s 100% reproducible for me, with notes and canvases.

It is not reproducible outside Obsidian, i.e. if I manually create the file and then delete it from Finder, it’s properly moved to Bin.

This is a problem of onedrive and we have no control over it. Sorry!

You could try instead of sending the file to recycle bin to sent it to obsidian .trash folde, maybe it helps.