IdealChain / signal-media-exporter

A script to export media files from Signal Desktop.
GNU General Public License v3.0
31 stars 10 forks source link

Option to remove media #8

Open varac opened 4 years ago

varac commented 4 years ago

It would be great to not only export media, but also have an option to remove the media from signal in order to decrease the attachment file.

IdealChain commented 4 years ago

Sounds useful, since Signal Desktop does not offer a feature to trim old messages (like the Android app does). I'm guessing there should be some retention settings, e.g. keep attachments newer than 4 weeks or keep only up to 10 MB of files?

The client seems to tolerate missing files well, so you could already use some general purpose tool to simply remove old files from the Signal/attachments.noindex folder. It might be cleaner, however, to also remove the reference from the message record in the database.