fsantini / KoboCloud

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

Match files on remote server #100

Closed ws-jy closed 2 years ago

ws-jy commented 2 years ago

Added some rudimentary code (first pull request I've done) to delete files from Kobo which are not on the remote server, which can be toggled by adding MATCH_REMOTE to the kobocloudrc file. Recursion is used to remove nested files. However, it will not delete directories.

fsantini commented 2 years ago

Hi! I like this. Maybe MATCH_REMOTE is not so clear, I would probably prefer something like REMOVE_DELETED but I'm open to discussion :)

ws-jy commented 2 years ago

Yup, I agree with that! I was thinking that the it seemed a bit dodgy...

ghost commented 2 years ago

Hi, is there progress on this issue? I just got a Kobo and it would be awesome to treat my cloud folder as some kind of currently reading bookshelf where I can add/remove books.

fsantini commented 2 years ago

Yes just merged it!