Drime is a cloud storage and transfer service focused on fast, resilient file delivery. It offers both free and paid tiers with emphasis on high-speed uploads and link sharing.
To setup Drime you need to log in, navigate to Settings, Developer, and create a token to use as an API access key. Give it a sensible name and copy the token for use in the config.
Here is a run through of rclone config to make a remote called remote.
Firstly run:
rclone config
Then follow through the interactive setup:
No remotes found, make a new one?
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
Enter name for new remote.
name> remote
Option Storage.
Type of storage to configure.
Choose a number from below, or type in your own value.
XX / Drime
\ (drime)
Storage> drime
Option access_token.
API Access token
You can get this from the web control panel.
Enter a value. Press Enter to leave empty.
access_token> YOUR_API_ACCESS_TOKEN
Edit advanced config?
y) Yes
n) No (default)
y/n> n
Configuration complete.
Options:
- type: drime
- access_token: YOUR_API_ACCESS_TOKEN
Keep this "remote" remote?
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y
Once configured you can then use rclone like this (replace remote with the
name you gave your remote):
List directories and files in the top level of your Drime
rclone lsf remote:
To copy a local directory to a Drime directory called backup
rclone copy /home/source remote:backup
Drime does not support modification times or hashes.
This means that by default syncs will only use the size of the file to determine if it needs updating.
You can use the --update flag which will use the time the object was uploaded.
For many operations this is sufficient to determine if it has changed. However
files created with timestamps in the past will be missed by the sync if using
--update.
In addition to the default restricted characters set the following characters are also replaced:
| Character | Value | Replacement |
|---|---|---|
| \ | 0x5C | \ |
File names can also not start or end with the following characters. These only get replaced if they are the first or last character in the name:
| Character | Value | Replacement |
|---|---|---|
| SP | 0x20 | ␠ |
Invalid UTF-8 bytes will also be replaced, as they can't be used in JSON strings.
You can set the root_folder_id for rclone. This is the directory
(identified by its Folder ID) that rclone considers to be the root
of your Drime drive.
Normally you will leave this blank and rclone will determine the correct root to use itself and fill in the value in the config file.
However you can set this to restrict rclone to a specific folder hierarchy.
In order to do this you will have to find the Folder ID of the
directory you wish rclone to display.
You can do this with rclone
$ rclone lsf -Fip --dirs-only remote:
d6341f53-ee65-4f29-9f59-d11e8070b2a0;Files/
f4f5c9b8-6ece-478b-b03e-4538edfe5a1c;Photos/
d50e356c-29ca-4b27-a3a7-494d91026e04;Videos/
The ID to use is the part before the ; so you could set
root_folder_id = d6341f53-ee65-4f29-9f59-d11e8070b2a0
To restrict rclone to the Files directory.
Here are the Standard options specific to drime (Drime).
API Access token
You can get this from the web control panel.
Properties:
Here are the Advanced options specific to drime (Drime).
ID of the root folder
Leave this blank normally, rclone will fill it in automatically.
If you want rclone to be restricted to a particular folder you can fill it in - see the docs for more info.
Properties:
Account ID
Leave this blank normally, rclone will fill it in automatically.
Properties:
Number of items to list in each call
Properties:
The encoding for the backend.
See the encoding section in the overview for more info.
Properties:
Description of the remote.
Properties:
Drime only supports filenames up to 255 bytes in length, where filenames are encoded in UTF8.