Skip to content

[Bug] Directory deletions/moves not synced across devices #38

@kev26

Description

@kev26

YAOS plugin version

1.6.1

Server deployment commit SHA

no issue with deployment, this issue from sync

Relevant logs or error text

Describe the bug
Directory deletions and moves are not synced across devices. When a folder is moved or deleted on Device A, the change is not propagated to Device B — the folder remains (empty) on Device B.

To Reproduce
Setup yaos sync across 2+ devices (e.g., Mac Mini + MacBook)
On Device A, create a folder Projects/test-folder/ with some .md files inside
Wait for sync — files appear correctly on Device B ✓
On Device A, move or delete the entire test-folder/ directory
Check Device B

Expected behavior
test-folder/ is removed from Device B's vault.

Actual behavior
The .md files inside are deleted on Device B ✓
But the empty test-folder/ directory still exists on Device B ✗
Manually creating a new file inside and deleting the folder again does not resolve it

Environment
OS: macOS (both devices)
Obsidian version: latest
yaos version: latest

What you did

Notes
File creation, editing, and deletion sync works correctly
Only directory-level operations (move, delete) fail to propagate
Empty folders persist on remote devices and require manual cleanup

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions