I have vaults on my PC, Mac and iPhone synced using the paid Obsidian Sync feature.
Inside the Vault are some folders with notes in and some notes outside of the folders. No folders are excluded from the Sync.
Yesterday something weird happened and the iOS app has made duplicates of all the notes in my folders in the root directory.
The root directory now has all my files which were not in folders mixed in with (unwanted) duplicates of the files from the folders.
My first priority is to undo the damage and remove those duplicates.
Is there some way to do that which doesnât involve manually going through a list of 10,000+ files one by one and checking whether itâs a duplicate that needs deleting?
If the duplicatesâ âlast modifiedâ dates match when they were created (instead of the dates of the original files), then sorting by date would help.
I suspect thatâs what caused the problem. Honestly, I probably had iCloud Sync and the Sync plugin running at the same time on one of my machines without realising
Thanks. Thatâs a good suggestion. I had a quick look and some files have a last modified date which matches the date of the error. But itâs confusingly inconsistent across different devices and thereâs the occasional one that doesnât seem to make sense at all. Iâll spend some time looking through it in detail and see if I can make sense of it. Hopefully I can use this method to deal with the bulk of it and then do the last handful manual. Thanks again!
Iâm not promoting, it, but Iâve seen it said more than once that if you use iCloud on one and only one computer â so it only syncs with Appleâs servers and not with any of your other devices â it should be OK (and any other mixing is asking for trouble). Iâm pretty sure the people saying it were at least regulars, possibly mods or maybe even one of the devs. Frustratingly, I canât find any of those posts now except this one from WhiteNoise Using Version History: using iCloud and Obsidian Sync simultaneously? - #4 by WhiteNoise which is the other way round â using Sync on one only 1 computer for its version history.
I only mentioned it because the posterâs phrasing sounded like they might have had iCloud active on only 1 computer. I wouldnât normally bring it up when discussing sync options.
Probably some warning in the app would be useful and fairly easy to implement here. If the vault location contains âiCloudâ and you try to turn on Sync it warns you not to?