fabianonline / telegram_backup

Java app to download all your telegram data.
GNU General Public License v3.0
448 stars 91 forks source link

[Feature Request] Don't re-download delete media option #82

Closed DrakeTDL closed 6 years ago

DrakeTDL commented 6 years ago

As the title says, I am suggesting an option to not re-download media(s) that you have delete.

fabianonline commented 6 years ago

Right now I use "does the file exist" as marker that I apparently didn't download it yet. So deleting it doesn't look any different than a file I just didn't download yet.

Instead of deleting the file you can just truncate it to 0 bytes since the code doesn't look at the size. In Linux you can just type > filename to "empty" the file.