Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.52 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.52 KB

Sync RocketBook Notes from Cloud Storage to Confluence

This script provides a convinient way to sync your RocketBook notes (or any other files) from a supported cloud provider (see https://rclone.org/overview/) to Confluence as attachments via REST.

Requirements

Pre-flight

Generate a rclone config for your storage provider by running:

rclone config

Usage

To upload all files in the current folder, run sync-cloud-to-confluence.sh with your Confluence Username, Confluence Password and Confluence PageId (can be obtained from the end of the URL when editing your page).

Files from your cloud storage will be saved in yourSourceDirectory and then attached to yourConfluencePageId in yourConfluenceInstance.

  • yourConfluenceUsername - e.g. dave.daniels
  • yourConfluencePassword - e.g. kjlhwLJKHwljhe
  • yourConfluencePageId - e.g. 1382981372
  • yourSourceDirectory - e.g. /Users/dave.daniels/rocketbook
  • yourConfluenceInstance - e.g. https://confluence.daves-company.io
./sync-cloud-to-confluence.sh yourConfluenceUsername yourConfluencePassword yourConfluencePageId yourSourceDirectory yourConfluenceInstance`

Restrictions

  • Currently no updates to files are possible
  • Sync is only one way (cloud storage -> Confluence)

Additional Documentation