Skip to content

Unable to retrieve all messages & attachments? #171

Answered by ReagentX
tomwarham asked this question in Q&A
Discussion options

You must be logged in to vote

Whereas the chat.db file which imessage-exporter seems to use is ~/Library/Messages/chat.db

The software defaults to using the local macOS iMessage database. If you want to read from your iOS backup, specify the path to it in the command with -p. Per the docs:

-p, --db-path <path/to/source>
        Specify a custom path for the iMessage database location
        For macOS, specify a path to a `chat.db` file
        For iOS, specify a path to the root of an unencrypted backup directory
        If omitted, the default directory is ~/Library/Messages/chat.db

For example, a command like the following would export your iOS backup:

imessage-exporter -f html -p ~/Library/Application Support/M…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ReagentX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
crate: cli Related to the CLI crate
2 participants
Converted from issue

This discussion was converted from issue #170 on September 21, 2023 22:20.