"Duplicate Groups & Tags" script – Possible to keep aliases?

I tried duplicating a host of tags from one database to another using the “Duplicate Groups & Tags” script. While everything worked as intended on first sight, I then realized that the duplicated tags in the second database do not have any aliases, unlike the tags created in the first database.

Is this user error and if so, does anyone (@BLUEFROG?) know how to duplicate the tags with aliases? And if not, would adjusting the script to do so require significant changes or could that be achieved with some minor tweaks?

It’s not supported in the script and would require changes.

What’s your use case for aliases on tags?

I extensively use the Assign Tags script to assign tags to indexed Bookends attachments (mainly PDF documents). I have created tags for different topics relevant to my research. For each tag, I have added synonyms, translations, variations, related words etc. as aliases, so that the Assign Tags script catches most of the relevant documents and groups them together under one tag.

This generally works beautifully, as I can then quickly find documents relevant to a particular topic either in DEVONthink or in Bookends, which allows to view references filtered by finder tags.

The reason why I now want to duplicate the tags with their aliases is that I would like to assign the same tags to websites saved in DEVONthink. I think it would be best to do that in a different library, so as to not clutter up the tags in the library containing the indexed Bookends attachments.

Hold the Option key and choose Help > Report bug to start a support ticket. Include a screen capture of a tag and the Info inspector open showing the aliases you are using.