Originally Posted by kobotux
Being able to download/update book on kobo from Google drive would be nice. For example, using a script to check NEW books on Google drive and download the missing ones would be great. Is this something that I can achieve through your wget process ?
Yes, I tested it today. You can download files from Google Drive with wget if you create a public folder for the files that you want to update to kobo. All public folders have a hosting URL that anyone can access. You can find out hosting URL by opening details pane for the directory. Test the link by opening it with browser. You should see simple file list.
Now all files from the folder can be downloaded to kobo. This command will download all files that are new or have changed:
wget -m -nd --no-parent --no-check-certificate https://www.googledrive.com/host/FOLDER_ID/
It downloads some extra files like robots.txt and index.html, but you can exclude them with some wget options.