Complete Custom fields from Markdown Metadata

I have a several Markdown files with custom meta data (from previous software). I have now added custom fields to DevonThink. Is there a script I could use to populate those custom fields from the MarkDown files please?

Thank you.
Much appreciated.

Like this?

1 Like

Thank you @chrillek . I managed to work out created, updated and Tags, but I was not able to get a meta data called “revision” from MD to DT. What do I need to add to the script please?
Thank you

This has been discussed here:

Note that you have to use mdrevision as key if you directly access the customMetaData array. If you use addCustomMetaData() (the method), use revision.

Sorry, I still don’t get it. :frowning: