fsantini / KoboCloud

A set of scripts to synchronize a kobo reader with popular cloud services
Other
966 stars 94 forks source link

Books are not deleted #96

Closed dgsiegel closed 2 years ago

dgsiegel commented 2 years ago

Looking at the project description I was expecting that downloaded books which get deleted on the server will not be downloaded again. However as KoboCloud just gets a list of the current files on the server (only looked at Nextcloud) and downloads them all via curl, books will never be deleted.

To support this, I'd imagine we'd need to keep track on the downloaded books in a file (similar to get.log) and then delete them, if they're no longer on the remote.

VPeeters commented 2 years ago

Yes but this would fundamentally change how KoboCloud works. Don't know if it's something users want

louisabraham commented 2 years ago

I think it's now implemented with the REMOVE_DELETED option!

dgsiegel commented 2 years ago

It is! Thanks!