google-drive-to-webdav
CURRENT STATUS
This project is unmaintained, and as such it hasn't received any dependency update for a while. I'm not even sure that it still works, at the time of typing this (2025-12-01). I just wanted to say good luck, and that we're all counting on you.
Performs the following actions:
- Reads files from a google drive source,
- then uploads them to a webdav destination,
- them trashes them in the google drive source (they will be deleted by google
after 30 days)
requirements
- This requires a Google API token (thus a Google account too), that you can
create by https://developers.google.com/drive/api/v3/quickstart/nodejs and
following the tutorial on step 1 there. - This requires a
config.jsonfile; look at theconfig.json.examplefile to
get inspiration.
how to use
- install dependencies with:
npm install - copy
config.json.exampletoconfig.json, and modify it as indicated:gdrive_from_folder: from which gdrive folder should we read files?webdav_url: base WebDAV URLwebdav_root_path: WebDAV path where files will be copiedwebdav_username/webdav_password: WebDAV user name and password :-)
- run with
node index