I have many backups that contain versions of ~/Library/Messages
. Each one contains 3 files and a directory similar to this:
XYZ:Messages user$ tree -a -L 1
.
├── Attachments
├── chat.db
├── chat.db-shm
└── chat.db-wal
1 directory, 3 files
Some of these backups may overlap with each other. The result is 10-20 folders of messages with no obvious way to access them. I would like to unify all of them and remove duplicates if they exist.
Are there any applications that do this or any sort of tutorial I could follow? The files are sqlite so even a specification of the database structure would be helpful.