tagatac / bagoup

Mac OS Messages export
GNU Affero General Public License v3.0
72 stars 4 forks source link

Option to include attachments #7

Closed vwkd closed 2 years ago

vwkd commented 3 years ago

It's great to see an active script to export iMessages on macOS. Thank you!

It would be great if it could export attachments as well. Not necessarily image as described in #5, but also videos, PDFs, and arbitrary files.

The message file should reference them somehow. For comparison, a WhatsApp export references them in the _chat.txt message file like this:

[01.02.21, 15:16:17] John: Hello World.
[01.02.21, 15:16:18] John: ‎This message was deleted.
[01.02.21, 15:16:19] John: ‎<attached: 00000121-AUDIO-2021-02-01-15-16-19.opus>
[01.02.21, 15:16:20] John: ‎<attached: 00000124-PHOTO-2021-02-01-15-16-20.jpg>
tagatac commented 3 years ago

Thanks for the feedback @vwkd! I hadn't considered attachments because I rarely send or receive them. I'll keep this in mind for additions after #4 and #5.