Maintaining internal folder names when synching

Hi there

Am I right in thinking that the internal folder structure within a DevonThink database is not replicated exactly when the database is synchronised between two Macs and, if so, is there anyway to enforce exact replication? My reason for asking is as follows -

I have a database that I synchronise between a MacBook and an iMac via CloudKit. The database contains a small number of items that I sometimes want to access quickly, i.e. without opening DevonThink. To do this, I put a direct link to the item in the body of a task or calendar event within Things 3 and Apple Calendar respectively. Both apps are also synchronised across the two machines via iCloud.

I have noticed that, although DevonThink synchronises the database, it does not maintain the same internal structure. For example, I have a markdown-format planning checklist inside the database and on both computers it resides within an ā€˜mdā€™ folder within the DevonThink package, but the sub-folder is different - md/3f in one case and md/29 in the other. This means that I have to provide two links for every file so that I can choose the correct link for the machine I am working on.

The iMac is running Big Sur while the MacBook is running Ventura. I donā€™t know if this makes a difference. I also wondered if a different sync method (e.g. Bonjour) would make a difference.

I would greatly appreciate your advice on whether I can eliminate the need for separate iMac and MacBook links to these individual files.

with best wishes
Claire.

Did you try using the x-devonthink-item link instead of fiddling around with DT internals? I donā€™t know if these UUIDs are maintained across machines, though. And how exactly look the ā€œlinksā€ youā€™re using?

Hi Christer

Wow! Thank you so much for your speedy response. :slightly_smiling_face: In answer to your questions -

  • If I understand correctly, the x-devonthink-item link launches DevonThink. I wanted to avoid this extra step just to open, say, a short checklist, especially as DevonThink (I think) doesnā€™t allow markdown checkboxes to be checked off easily, so I would still need to open the file in, say, Typora.

  • The links Iā€™m using are like this - file:///Users/claireappleby/PARA/2%20Areas/Planning/Planning.dtBase2/Files.noindex/md/3f/Complete%20Daily%20Planner.md - not very pretty, but functional.

with best wishes
Claire.

The bottom line is that DEVONtechnologies does not support nor recommend doing anything with the internals of their database. For lots of reasons and I think you found oneā€“folder names change (under the applicationā€™s control).

1 Like

And worse than that, if you modify externally a file, DT will end complaining due checksum has changed.

If you want to control your files, index them (out of any cloud service) instead of importing them.

2 Likes

Thank you, @rmschne and @rfog. I appreciate both of your replies and, as you quite correctly state, my question is motivated by the need to avoid getting anywhere near the ā€˜internalsā€™ of DevonThink. I am very willing to change my sync method or even upgrade my OS so that both machines are running the same version. I suspect this wonā€™t make any difference, but I just wondered, since Iā€™m not sure of the origin of the different folder names.

If thatā€™s all you want to do ā€¦ then put the files in some ā€œcloudā€ sync service folder, e.g. Dropbox, then index them into DEVON think. Then work with those files outside of DEVONthink.

Please carefully read the sections in the ā€œDEVONthink Manualā€ about the added complexity and issues of indexing vs. importing, especially with files in a cloud synced folder.

2 Likes