How to "merge" my Messages transcripts in OSX?

How about restoring from your backup just the Messages Archive folder contents? (Open that folder in the Finder; then choose "Enter Time Machine" from the Time Machine menu in the Menu Bar; then select the most recent backup that has your full Messages history.) On restore, if anything presently in that folder has the same name, you'll be offered the choice to keep old/new/both.

Relatedly, check out this answer: https://apple.stackexchange.com/a/117558/10581


As far as merging goes, there are two ways: in the Finder, or in the Terminal. Both of these would require restoring your Time Machine backup of ~/Library/Messages/Archive to another, temporary location.

The Finder method is done by holding the Option key while dragging things to a location containing other things of the same name(s). If the destination contains items with the same name(s) as what is being dragged, it'll offer an option to Merge. But if what is being dragged contains items that are older than those in the destination, no Merge option will be offered.

The Terminal method is to use a command-line tool called ditto. This is something like using the command cp (to copy items), but it will automatically merge if there are name conflicts.