bepaald / signalbackup-tools

Tool to work with Signal Backup files.
GNU General Public License v3.0
755 stars 36 forks source link

Option to export all media files from a chat #201

Closed Outlet2048 closed 5 months ago

Outlet2048 commented 5 months ago

While reading through the readme I didnt find an option that allows me to export all media files from a specific chat This would be really useful as I have a chat with 12k media files and Signal fails to export it using inbuilt options.

Is there a way to do this / a potential for this to be a FR?

Cheers

bepaald commented 5 months ago

Hi! Thanks for your report.

While reading through the readme I didnt find an option that allows me to export all media files from a specific chat

I think you may be missing something in the README (or the README is not clear?). See: https://github.com/bepaald/signalbackup-tools?tab=readme-ov-file#dumpmedia

Summarized: the --dumpmedia [dir] option should export all media to the directory dir. The options --limittothreads [N] (obtain N from --listthreads) or --limittothreadsbyname "Bob" can be added to limit the chats from which media is exported.

Please let me know if this works correctly or if you need more guidance.

Thanks!

Outlet2048 commented 5 months ago

Thanks! That worked, i must have been blind

It would be cool if we could filter out stickers from the attachment export :)

Thanks for the quick reply!

bepaald commented 5 months ago

No worries! Thanks for the suggestion, I just added the --excludestickers option to use with --dumpmedia. I only tested it briefly, but I think it should work.

Thanks!

Outlet2048 commented 5 months ago

Thanks a lot man, impressive how fast you are :)