bnjbvr / gdrive-to-webdav

Moves files from Google Drive to Webdav servers (e.g. Nextcloud)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

google-drive-to-webdav

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

how to use

  • install dependencies with: npm install
  • copy config.json.example to config.json, and modify it as indicated:
    • gdrive_from_folder: from which gdrive folder should we read files?
    • webdav_url: base WebDAV URL
    • webdav_root_path: WebDAV path where files will be copied
    • webdav_username / webdav_password: WebDAV user name and password :-)
  • run with node index

About

Moves files from Google Drive to Webdav servers (e.g. Nextcloud)

License:Apache License 2.0


Languages

Language:JavaScript 100.0%