2019-07-06 01:16:57 +02:00
|
|
|
|
---
|
|
|
|
|
title: "premiumize.me"
|
|
|
|
|
description: "Rclone docs for premiumize.me"
|
2022-12-20 21:05:05 +01:00
|
|
|
|
versionIntroduced: "v1.49"
|
2019-07-06 01:16:57 +02:00
|
|
|
|
---
|
|
|
|
|
|
2021-07-20 20:45:41 +02:00
|
|
|
|
# {{< icon "fa fa-user" >}} premiumize.me
|
2019-07-06 01:16:57 +02:00
|
|
|
|
|
|
|
|
|
Paths are specified as `remote:path`
|
|
|
|
|
|
2020-10-13 23:49:58 +02:00
|
|
|
|
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
|
2019-07-06 01:16:57 +02:00
|
|
|
|
|
2021-10-14 15:40:18 +02:00
|
|
|
|
## Configuration
|
|
|
|
|
|
2019-07-06 01:16:57 +02:00
|
|
|
|
The initial setup for [premiumize.me](https://premiumize.me/) involves getting a token from premiumize.me which you
|
|
|
|
|
need to do in your browser. `rclone config` walks you through it.
|
|
|
|
|
|
|
|
|
|
Here is an example of how to make a remote called `remote`. First run:
|
|
|
|
|
|
|
|
|
|
rclone config
|
|
|
|
|
|
|
|
|
|
This will guide you through an interactive setup process:
|
|
|
|
|
|
|
|
|
|
```
|
2021-11-01 21:34:46 +01:00
|
|
|
|
No remotes found, make a new one?
|
2019-07-06 01:16:57 +02:00
|
|
|
|
n) New remote
|
|
|
|
|
s) Set configuration password
|
|
|
|
|
q) Quit config
|
|
|
|
|
n/s/q> n
|
|
|
|
|
name> remote
|
|
|
|
|
Type of storage to configure.
|
|
|
|
|
Enter a string value. Press Enter for the default ("").
|
|
|
|
|
Choose a number from below, or type in your own value
|
|
|
|
|
[snip]
|
2019-08-26 11:47:17 +02:00
|
|
|
|
XX / premiumize.me
|
2019-07-06 01:16:57 +02:00
|
|
|
|
\ "premiumizeme"
|
2019-08-26 11:47:17 +02:00
|
|
|
|
[snip]
|
2019-07-06 01:16:57 +02:00
|
|
|
|
Storage> premiumizeme
|
|
|
|
|
** See help for premiumizeme backend at: https://rclone.org/premiumizeme/ **
|
|
|
|
|
|
|
|
|
|
Remote config
|
2022-12-07 20:44:28 +01:00
|
|
|
|
Use web browser to automatically authenticate rclone with remote?
|
|
|
|
|
* Say Y if the machine running rclone has a web browser you can use
|
|
|
|
|
* Say N if running rclone on a (remote) machine without web browser access
|
|
|
|
|
If not sure try Y. If Y failed, try N.
|
2019-07-06 01:16:57 +02:00
|
|
|
|
y) Yes
|
|
|
|
|
n) No
|
|
|
|
|
y/n> y
|
|
|
|
|
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth
|
|
|
|
|
Log in and authorize rclone for access
|
|
|
|
|
Waiting for code...
|
|
|
|
|
Got code
|
|
|
|
|
--------------------
|
|
|
|
|
[remote]
|
|
|
|
|
type = premiumizeme
|
|
|
|
|
token = {"access_token":"XXX","token_type":"Bearer","refresh_token":"XXX","expiry":"2029-08-07T18:44:15.548915378+01:00"}
|
|
|
|
|
--------------------
|
|
|
|
|
y) Yes this is OK
|
|
|
|
|
e) Edit this remote
|
|
|
|
|
d) Delete this remote
|
|
|
|
|
y/e/d>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
See the [remote setup docs](/remote_setup/) for how to set it up on a
|
|
|
|
|
machine with no Internet browser available.
|
|
|
|
|
|
|
|
|
|
Note that rclone runs a webserver on your local machine to collect the
|
|
|
|
|
token as returned from premiumize.me. This only runs from the moment it opens
|
|
|
|
|
your browser to the moment you get back the verification code. This
|
|
|
|
|
is on `http://127.0.0.1:53682/` and this it may require you to unblock
|
|
|
|
|
it temporarily if you are running a host firewall.
|
|
|
|
|
|
|
|
|
|
Once configured you can then use `rclone` like this,
|
|
|
|
|
|
|
|
|
|
List directories in top level of your premiumize.me
|
|
|
|
|
|
|
|
|
|
rclone lsd remote:
|
|
|
|
|
|
|
|
|
|
List all the files in your premiumize.me
|
|
|
|
|
|
|
|
|
|
rclone ls remote:
|
|
|
|
|
|
|
|
|
|
To copy a local directory to an premiumize.me directory called backup
|
|
|
|
|
|
|
|
|
|
rclone copy /home/source remote:backup
|
|
|
|
|
|
2021-10-14 15:40:18 +02:00
|
|
|
|
### Modified time and hashes
|
2019-07-06 01:16:57 +02:00
|
|
|
|
|
|
|
|
|
premiumize.me does not support modification times or hashes, therefore
|
|
|
|
|
syncing will default to `--size-only` checking. Note that using
|
|
|
|
|
`--update` will work.
|
|
|
|
|
|
2021-10-14 15:40:18 +02:00
|
|
|
|
### Restricted filename characters
|
2019-10-02 10:54:36 +02:00
|
|
|
|
|
|
|
|
|
In addition to the [default restricted characters set](/overview/#restricted-characters)
|
|
|
|
|
the following characters are also replaced:
|
|
|
|
|
|
|
|
|
|
| Character | Value | Replacement |
|
|
|
|
|
| --------- |:-----:|:-----------:|
|
|
|
|
|
| \ | 0x5C | \ |
|
|
|
|
|
| " | 0x22 | " |
|
|
|
|
|
|
|
|
|
|
Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
|
|
|
|
|
as they can't be used in JSON strings.
|
|
|
|
|
|
2020-05-22 13:22:52 +02:00
|
|
|
|
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/premiumizeme/premiumizeme.go then run make backenddocs" >}}
|
2021-11-01 16:42:05 +01:00
|
|
|
|
### Standard options
|
2019-07-06 01:16:57 +02:00
|
|
|
|
|
2022-07-09 19:08:20 +02:00
|
|
|
|
Here are the Standard options specific to premiumizeme (premiumize.me).
|
2019-07-06 01:16:57 +02:00
|
|
|
|
|
2023-09-11 16:59:44 +02:00
|
|
|
|
#### --premiumizeme-client-id
|
|
|
|
|
|
|
|
|
|
OAuth Client Id.
|
|
|
|
|
|
|
|
|
|
Leave blank normally.
|
|
|
|
|
|
|
|
|
|
Properties:
|
|
|
|
|
|
|
|
|
|
- Config: client_id
|
|
|
|
|
- Env Var: RCLONE_PREMIUMIZEME_CLIENT_ID
|
|
|
|
|
- Type: string
|
|
|
|
|
- Required: false
|
|
|
|
|
|
|
|
|
|
#### --premiumizeme-client-secret
|
|
|
|
|
|
|
|
|
|
OAuth Client Secret.
|
|
|
|
|
|
|
|
|
|
Leave blank normally.
|
|
|
|
|
|
|
|
|
|
Properties:
|
|
|
|
|
|
|
|
|
|
- Config: client_secret
|
|
|
|
|
- Env Var: RCLONE_PREMIUMIZEME_CLIENT_SECRET
|
|
|
|
|
- Type: string
|
|
|
|
|
- Required: false
|
|
|
|
|
|
2019-07-06 01:16:57 +02:00
|
|
|
|
#### --premiumizeme-api-key
|
|
|
|
|
|
|
|
|
|
API Key.
|
|
|
|
|
|
|
|
|
|
This is not normally used - use oauth instead.
|
|
|
|
|
|
|
|
|
|
|
2022-03-18 13:29:54 +01:00
|
|
|
|
Properties:
|
|
|
|
|
|
2019-07-06 01:16:57 +02:00
|
|
|
|
- Config: api_key
|
|
|
|
|
- Env Var: RCLONE_PREMIUMIZEME_API_KEY
|
|
|
|
|
- Type: string
|
2022-03-18 13:29:54 +01:00
|
|
|
|
- Required: false
|
2019-07-06 01:16:57 +02:00
|
|
|
|
|
2021-11-01 16:42:05 +01:00
|
|
|
|
### Advanced options
|
2020-02-01 11:31:42 +01:00
|
|
|
|
|
2022-07-09 19:08:20 +02:00
|
|
|
|
Here are the Advanced options specific to premiumizeme (premiumize.me).
|
2020-02-01 11:31:42 +01:00
|
|
|
|
|
2023-09-11 16:59:44 +02:00
|
|
|
|
#### --premiumizeme-token
|
|
|
|
|
|
|
|
|
|
OAuth Access Token as a JSON blob.
|
|
|
|
|
|
|
|
|
|
Properties:
|
|
|
|
|
|
|
|
|
|
- Config: token
|
|
|
|
|
- Env Var: RCLONE_PREMIUMIZEME_TOKEN
|
|
|
|
|
- Type: string
|
|
|
|
|
- Required: false
|
|
|
|
|
|
|
|
|
|
#### --premiumizeme-auth-url
|
|
|
|
|
|
|
|
|
|
Auth server URL.
|
|
|
|
|
|
|
|
|
|
Leave blank to use the provider defaults.
|
|
|
|
|
|
|
|
|
|
Properties:
|
|
|
|
|
|
|
|
|
|
- Config: auth_url
|
|
|
|
|
- Env Var: RCLONE_PREMIUMIZEME_AUTH_URL
|
|
|
|
|
- Type: string
|
|
|
|
|
- Required: false
|
|
|
|
|
|
|
|
|
|
#### --premiumizeme-token-url
|
|
|
|
|
|
|
|
|
|
Token server url.
|
|
|
|
|
|
|
|
|
|
Leave blank to use the provider defaults.
|
|
|
|
|
|
|
|
|
|
Properties:
|
|
|
|
|
|
|
|
|
|
- Config: token_url
|
|
|
|
|
- Env Var: RCLONE_PREMIUMIZEME_TOKEN_URL
|
|
|
|
|
- Type: string
|
|
|
|
|
- Required: false
|
|
|
|
|
|
2020-02-01 11:31:42 +01:00
|
|
|
|
#### --premiumizeme-encoding
|
|
|
|
|
|
2022-03-18 13:29:54 +01:00
|
|
|
|
The encoding for the backend.
|
2020-02-01 11:31:42 +01:00
|
|
|
|
|
2021-11-01 16:42:05 +01:00
|
|
|
|
See the [encoding section in the overview](/overview/#encoding) for more info.
|
2020-02-01 11:31:42 +01:00
|
|
|
|
|
2022-03-18 13:29:54 +01:00
|
|
|
|
Properties:
|
|
|
|
|
|
2020-02-01 11:31:42 +01:00
|
|
|
|
- Config: encoding
|
|
|
|
|
- Env Var: RCLONE_PREMIUMIZEME_ENCODING
|
|
|
|
|
- Type: MultiEncoder
|
|
|
|
|
- Default: Slash,DoubleQuote,BackSlash,Del,Ctl,InvalidUtf8,Dot
|
|
|
|
|
|
2020-05-22 13:22:52 +02:00
|
|
|
|
{{< rem autogenerated options stop >}}
|
2019-07-06 01:16:57 +02:00
|
|
|
|
|
2021-10-14 15:40:18 +02:00
|
|
|
|
## Limitations
|
2019-07-06 01:16:57 +02:00
|
|
|
|
|
|
|
|
|
Note that premiumize.me is case insensitive so you can't have a file called
|
|
|
|
|
"Hello.doc" and one called "hello.doc".
|
|
|
|
|
|
|
|
|
|
premiumize.me file names can't have the `\` or `"` characters in.
|
|
|
|
|
rclone maps these to and from an identical looking unicode equivalents
|
|
|
|
|
`\` and `"`
|
|
|
|
|
|
|
|
|
|
premiumize.me only supports filenames up to 255 characters in length.
|