tmo1 / sms-ie

SMS Import / Export is a simple Android app that imports and exports SMS and MMS messages, call logs, and contacts from and to JSON / NDJSON files.
GNU General Public License v3.0
351 stars 39 forks source link

Compress json to zip #191

Open sawka6630 opened 3 months ago

sawka6630 commented 3 months ago

Please add post-export zip compression of json files (created by auto backup feature particularly). It will reduce the target file size significantly. For example:

In general this will allow to save ~17.5 Mb per day.

tmo1 commented 3 months ago

I agree that the space savings would be desirable. If and when we switch the format from simple JSON to (ND)JSON encapsulated in a ZIP file, then we'll get compression automatically (as is currently the case for messages), but format changes require careful consideration and planning, since they break backward compatibility.