Reason for Feature Request
My vault’s .trash folder does not appear to synchronize across multiple devices when using Obsidian Sync:
A file that shows up in the .trash folder of one PC…
- Does not show up in the .trash folder of another PC (and vice versa)
- I don’t even see a .trash folder in the iOS mobile app
This is dangerous because if you purposely or accidentally delete a file on one computer, and later are on a different computer and realize you need to recover that file, you will be confused because you won’t see it in your .trash folder. This would either lead you to believe that you have completely lost the file, or require you to realize you need to individually search the .trash folder of every computer you own, which may be impossible if the computers are at different locations.
I don’t even see the existence of a .trash folder in my iOS mobile app either, which ideally it should have for the same reasons above.
This seems counterintuitive since Obsidian Sync seems to be intended to do sync everything and is supposed to have the ability to restore deleted files.
Alternatively, if the Settings->Sync->Deleted Files feature successfully was able to bring back deleted files regardless of which computer/device I’m on, that would be fine instead of the actual .trash folder being synced.
Steps to reproduce
- On two separate PCs (Windows 10), open the same vault that is connected via Obsidian Sync
- Ensure that on both of these PCs, your Obsidian’s settings are set such that the “Files & Links” tab has “Deleted files” set to: Move to Obsidian trash (.trash folder)
- On the first PC, create a new note, with any title (e.g. “test note”)
- On the second PC, verify that you can see the note you created (meaning Obsidian Sync is synchronizing correctly).
- On the first PC, right click->delete the file
- On the first PC, using the Windows File Explorer, go to the location of the .trash folder in your vault, and confirm you see the “test note.md” in the folder.
- On the second PC, confirm that within the Obsidian app, the “test note” has disappeared (meaning Obsidian Sync is synchronizing correctly).
- On the second PC, using the Windows File Explorer, go to the location of the .trash folder of your Obsidian vault. You will not see the file you deleted
Ideal result (feature request)
You should see the file you deleted in the .trash folder of both PCs (and ideally your iOS folder as well)
Actual result
The file you deleted only shows up in the .trash folder of the PC you used to delete the file.