差别
这里会显示出您选择的修订版和当前版本之间的差别。
tips:rclone [2022/04/16 08:54] baolitoumu 创建 |
— (当前版本) | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== Setting up rclone ====== | ||
- | |||
- | [[https:// | ||
- | |||
- | The 32bit ARM binary works on the reMarkable, and with just a little bit of effort it is relatively easy to sync the device with your Google drive from the [[tech: | ||
- | |||
- | ===== Installation ===== | ||
- | |||
- | ==== Install using opkg ==== | ||
- | |||
- | As of December 2020, rclone can now be installed using the [[https:// | ||
- | |||
- | < | ||
- | |||
- | ==== Manual installation ==== | ||
- | |||
- | * Download the binaries | ||
- | * Download the latest 32bit ARM binaries from https:// | ||
- | * Unpack the binaries< | ||
- | (xenial)kimbotha@localhost: | ||
- | Archive: | ||
- | | ||
- | inflating: rclone-v1.38-linux-arm/ | ||
- | inflating: rclone-v1.38-linux-arm/ | ||
- | inflating: rclone-v1.38-linux-arm/ | ||
- | inflating: rclone-v1.38-linux-arm/ | ||
- | * Copy the rclone binary to the reMarkable< | ||
- | (xenial)kimbotha@localhost: | ||
- | (xenial)kimbotha@localhost: | ||
- | rclone | ||
- | |||
- | ===== Connecting to a cloud provider ===== | ||
- | |||
- | * SSH to the reMarkable with a port forward of 53682< | ||
- | (xenial)kimbotha@localhost: | ||
- | reMarkable | ||
- | ╺━┓┏━╸┏━┓┏━┓ | ||
- | ┏━┛┣╸ ┣┳┛┃ ┃ | ||
- | ┗━╸┗━╸╹┗╸┗━┛ | ||
- | remarkable: ~/ </ | ||
- | * Make the rclone binary executable< | ||
- | remarkable: ~/ chmod +x / | ||
- | * Run the rclone config to set up the config for your cloud storage< | ||
- | remarkable: ~/ rclone config | ||
- | 2017/11/12 21:37:18 NOTICE: Config file "/ | ||
- | No remotes found - make a new one | ||
- | n) New remote | ||
- | s) Set configuration password | ||
- | q) Quit config | ||
- | n/s/q> n | ||
- | name> cloud | ||
- | Type of storage to configure. | ||
- | Choose a number from below, or type in your own value | ||
- | 1 / Amazon Drive | ||
- | \ " | ||
- | 2 / Amazon S3 (also Dreamhost, Ceph, Minio) | ||
- | \ " | ||
- | 3 / Backblaze B2 | ||
- | \ " | ||
- | 4 / Box | ||
- | \ " | ||
- | 5 / Dropbox | ||
- | \ " | ||
- | 6 / Encrypt/ | ||
- | \ " | ||
- | 7 / FTP Connection | ||
- | \ " | ||
- | 8 / Google Cloud Storage (this is not Google Drive) | ||
- | \ " | ||
- | 9 / Google Drive | ||
- | \ " | ||
- | 10 / Hubic | ||
- | \ " | ||
- | 11 / Local Disk | ||
- | \ " | ||
- | 12 / Microsoft Azure Blob Storage | ||
- | \ " | ||
- | 13 / Microsoft OneDrive | ||
- | \ " | ||
- | 14 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH) | ||
- | \ " | ||
- | 15 / QingClound Object Storage | ||
- | \ " | ||
- | 16 / SSH/SFTP Connection | ||
- | \ " | ||
- | 17 / Yandex Disk | ||
- | \ " | ||
- | 18 / http Connection | ||
- | \ " | ||
- | Storage> 9 | ||
- | Google Application Client Id - leave blank normally. | ||
- | client_id> | ||
- | Google Application Client Secret - leave blank normally. | ||
- | client_secret> | ||
- | Remote config | ||
- | Use auto config? | ||
- | * Say Y if not sure | ||
- | * Say N if you are working on a remote or headless machine or Y didn't work | ||
- | y) Yes | ||
- | n) No | ||
- | y/n> Y | ||
- | If your browser doesn' | ||
- | Log in and authorize rclone for access | ||
- | Waiting for code...</ | ||
- | * Connect to the URL on your main machine (which should be available because of the port forward | ||
- | * Authorize the connection | ||
- | * On your reMarkable the rclone config process should continue< | ||
- | Got code | ||
- | Configure this as a team drive? | ||
- | y) Yes | ||
- | n) No | ||
- | y/n> y | ||
- | Fetching team drive list... | ||
- | No team drives found in your account-------------------- | ||
- | [cloud] | ||
- | client_id = | ||
- | client_secret = | ||
- | token = {" | ||
- | team_drive = | ||
- | -------------------- | ||
- | y) Yes this is OK | ||
- | e) Edit this remote | ||
- | d) Delete this remote | ||
- | y/e/d> y | ||
- | Current remotes: | ||
- | |||
- | Name Type | ||
- | ==== ==== | ||
- | cloud drive | ||
- | |||
- | e) Edit existing remote | ||
- | n) New remote | ||
- | d) Delete remote | ||
- | r) Rename remote | ||
- | c) Copy remote | ||
- | s) Set configuration password | ||
- | q) Quit config | ||
- | e/ | ||
- | * You should now be able to use rclone with this config and enable copying, syncing, downloading etc.< | ||
- | remarkable: ~/ rclone help | ||
- | |||
- | Rclone is a command line program to sync files and directories to and | ||
- | from various cloud storage systems and using file transfer services, such as: | ||
- | ... | ||
- | </ | ||
- | |||
- | * For example, if you want to synchronize the content of folder " | ||
- | remarkable: ~/ rclone sync cloud:test / | ||
- | </ | ||