2019-10-24 19:35:50 +08:00
---
title: "SugarSync"
description: "Rclone docs for SugarSync"
2022-12-21 04:05:05 +08:00
versionIntroduced: "v1.51"
2019-10-24 19:35:50 +08:00
---
2021-07-21 02:45:41 +08:00
# {{< icon "fas fa-dove" >}} SugarSync
2019-10-24 19:35:50 +08:00
[SugarSync ](https://sugarsync.com ) is a cloud service that enables
active synchronization of files across computers and other devices for
file backup, access, syncing, and sharing.
2021-10-14 21:40:18 +08:00
## Configuration
2019-10-24 19:35:50 +08:00
The initial setup for SugarSync involves getting a token from SugarSync which you
can do with rclone. `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-02 04:34:46 +08:00
No remotes found, make a new one?
2019-10-24 19:35:50 +08: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]
XX / Sugarsync
\ "sugarsync"
[snip]
Storage> sugarsync
** See help for sugarsync backend at: https://rclone.org/sugarsync/ **
Sugarsync App ID.
Leave blank to use rclone's.
Enter a string value. Press Enter for the default ("").
app_id>
Sugarsync Access Key ID.
Leave blank to use rclone's.
Enter a string value. Press Enter for the default ("").
access_key_id>
Sugarsync Private Access Key
Leave blank to use rclone's.
Enter a string value. Press Enter for the default ("").
private_access_key>
Permanently delete files if true
otherwise put them in the deleted files.
Enter a boolean value (true or false). Press Enter for the default ("false").
hard_delete>
Edit advanced config? (y/n)
y) Yes
n) No (default)
y/n> n
Remote config
Username (email address)> nick@craig-wood.com
Your Sugarsync password is only required during setup and will not be stored.
password:
2024-08-16 18:05:43 +08:00
Configuration complete.
Options:
- type: sugarsync
- refresh_token: https://api.sugarsync.com/app-authorization/XXXXXXXXXXXXXXXXXX
Keep this "remote" remote?
2019-10-24 19:35:50 +08:00
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y
```
Note that the config asks for your email and password but doesn't
store them, it only uses them to get the initial token.
Once configured you can then use `rclone` like this,
List directories (sync folders) in top level of your SugarSync
rclone lsd remote:
List all the files in your SugarSync folder "Test"
rclone ls remote:Test
To copy a local directory to an SugarSync folder called backup
rclone copy /home/source remote:backup
Paths are specified as `remote:path`
2020-10-14 05:49:58 +08:00
Paths may be as deep as required, e.g. `remote:directory/subdirectory` .
2019-10-24 19:35:50 +08:00
**NB** you can't create files in the top level folder you have to
create a folder, which rclone will create as a "Sync Folder" with
SugarSync.
2023-11-18 20:36:46 +08:00
### Modification times and hashes
2019-10-24 19:35:50 +08:00
SugarSync does not support modification times or hashes, therefore
syncing will default to `--size-only` checking. Note that using
`--update` will work as rclone can read the time files were uploaded.
2021-10-14 21:40:18 +08:00
### Restricted filename characters
2019-10-24 19:35:50 +08:00
SugarSync replaces the [default restricted characters set ](/overview/#restricted-characters )
except for DEL.
Invalid UTF-8 bytes will also be [replaced ](/overview/#invalid-utf8 ),
as they can't be used in XML strings.
2021-10-14 21:40:18 +08:00
### Deleting files
2019-10-24 19:35:50 +08:00
Deleted files will be moved to the "Deleted items" folder by default.
However you can supply the flag `--sugarsync-hard-delete` or set the
config parameter `hard_delete = true` if you would like files to be
deleted straight away.
2020-05-22 19:22:52 +08:00
{{< rem autogenerated options start " - DO NOT EDIT - instead edit fs . RegInfo in backend / sugarsync / sugarsync . go then run make backenddocs " > }}
2021-11-01 23:42:05 +08:00
### Standard options
2019-10-24 19:35:50 +08:00
2022-07-10 01:08:20 +08:00
Here are the Standard options specific to sugarsync (Sugarsync).
2019-10-24 19:35:50 +08:00
#### --sugarsync-app-id
Sugarsync App ID.
Leave blank to use rclone's.
2022-03-18 20:29:54 +08:00
Properties:
2019-10-24 19:35:50 +08:00
- Config: app_id
- Env Var: RCLONE_SUGARSYNC_APP_ID
- Type: string
2022-03-18 20:29:54 +08:00
- Required: false
2019-10-24 19:35:50 +08:00
#### --sugarsync-access-key-id
Sugarsync Access Key ID.
Leave blank to use rclone's.
2022-03-18 20:29:54 +08:00
Properties:
2019-10-24 19:35:50 +08:00
- Config: access_key_id
- Env Var: RCLONE_SUGARSYNC_ACCESS_KEY_ID
- Type: string
2022-03-18 20:29:54 +08:00
- Required: false
2019-10-24 19:35:50 +08:00
#### --sugarsync-private-access-key
2021-11-01 23:42:05 +08:00
Sugarsync Private Access Key.
2019-10-24 19:35:50 +08:00
Leave blank to use rclone's.
2022-03-18 20:29:54 +08:00
Properties:
2019-10-24 19:35:50 +08:00
- Config: private_access_key
- Env Var: RCLONE_SUGARSYNC_PRIVATE_ACCESS_KEY
- Type: string
2022-03-18 20:29:54 +08:00
- Required: false
2019-10-24 19:35:50 +08:00
#### --sugarsync-hard-delete
Permanently delete files if true
otherwise put them in the deleted files.
2022-03-18 20:29:54 +08:00
Properties:
2019-10-24 19:35:50 +08:00
- Config: hard_delete
- Env Var: RCLONE_SUGARSYNC_HARD_DELETE
- Type: bool
- Default: false
2021-11-01 23:42:05 +08:00
### Advanced options
2019-10-24 19:35:50 +08:00
2022-07-10 01:08:20 +08:00
Here are the Advanced options specific to sugarsync (Sugarsync).
2019-10-24 19:35:50 +08:00
#### --sugarsync-refresh-token
2021-11-01 23:42:05 +08:00
Sugarsync refresh token.
2019-10-24 19:35:50 +08:00
Leave blank normally, will be auto configured by rclone.
2022-03-18 20:29:54 +08:00
Properties:
2019-10-24 19:35:50 +08:00
- Config: refresh_token
- Env Var: RCLONE_SUGARSYNC_REFRESH_TOKEN
- Type: string
2022-03-18 20:29:54 +08:00
- Required: false
2019-10-24 19:35:50 +08:00
#### --sugarsync-authorization
2021-11-01 23:42:05 +08:00
Sugarsync authorization.
2019-10-24 19:35:50 +08:00
Leave blank normally, will be auto configured by rclone.
2022-03-18 20:29:54 +08:00
Properties:
2019-10-24 19:35:50 +08:00
- Config: authorization
- Env Var: RCLONE_SUGARSYNC_AUTHORIZATION
- Type: string
2022-03-18 20:29:54 +08:00
- Required: false
2019-10-24 19:35:50 +08:00
#### --sugarsync-authorization-expiry
2021-11-01 23:42:05 +08:00
Sugarsync authorization expiry.
2019-10-24 19:35:50 +08:00
Leave blank normally, will be auto configured by rclone.
2022-03-18 20:29:54 +08:00
Properties:
2019-10-24 19:35:50 +08:00
- Config: authorization_expiry
- Env Var: RCLONE_SUGARSYNC_AUTHORIZATION_EXPIRY
- Type: string
2022-03-18 20:29:54 +08:00
- Required: false
2019-10-24 19:35:50 +08:00
#### --sugarsync-user
2021-11-01 23:42:05 +08:00
Sugarsync user.
2019-10-24 19:35:50 +08:00
Leave blank normally, will be auto configured by rclone.
2022-03-18 20:29:54 +08:00
Properties:
2019-10-24 19:35:50 +08:00
- Config: user
- Env Var: RCLONE_SUGARSYNC_USER
- Type: string
2022-03-18 20:29:54 +08:00
- Required: false
2019-10-24 19:35:50 +08:00
#### --sugarsync-root-id
2021-11-01 23:42:05 +08:00
Sugarsync root id.
2019-10-24 19:35:50 +08:00
Leave blank normally, will be auto configured by rclone.
2022-03-18 20:29:54 +08:00
Properties:
2019-10-24 19:35:50 +08:00
- Config: root_id
- Env Var: RCLONE_SUGARSYNC_ROOT_ID
- Type: string
2022-03-18 20:29:54 +08:00
- Required: false
2019-10-24 19:35:50 +08:00
#### --sugarsync-deleted-id
2021-11-01 23:42:05 +08:00
Sugarsync deleted folder id.
2019-10-24 19:35:50 +08:00
Leave blank normally, will be auto configured by rclone.
2022-03-18 20:29:54 +08:00
Properties:
2019-10-24 19:35:50 +08:00
- Config: deleted_id
- Env Var: RCLONE_SUGARSYNC_DELETED_ID
- Type: string
2022-03-18 20:29:54 +08:00
- Required: false
2019-10-24 19:35:50 +08:00
#### --sugarsync-encoding
2022-03-18 20:29:54 +08:00
The encoding for the backend.
2019-10-24 19:35:50 +08:00
2021-11-01 23:42:05 +08:00
See the [encoding section in the overview ](/overview/#encoding ) for more info.
2019-10-24 19:35:50 +08:00
2022-03-18 20:29:54 +08:00
Properties:
2019-10-24 19:35:50 +08:00
- Config: encoding
- Env Var: RCLONE_SUGARSYNC_ENCODING
2023-11-26 23:59:12 +08:00
- Type: Encoding
2019-10-24 19:35:50 +08:00
- Default: Slash,Ctl,InvalidUtf8,Dot
2024-03-10 19:22:43 +08:00
#### --sugarsync-description
2024-06-14 23:04:51 +08:00
Description of the remote.
2024-03-10 19:22:43 +08:00
Properties:
- Config: description
- Env Var: RCLONE_SUGARSYNC_DESCRIPTION
- Type: string
- Required: false
2020-05-22 19:22:52 +08:00
{{< rem autogenerated options stop > }}
2021-10-14 21:40:18 +08:00
## Limitations
2020-11-27 22:08:52 +08:00
`rclone about` is not supported by the SugarSync backend. Backends without
this capability cannot determine free space for an rclone mount or
use policy `mfs` (most free space) as a member of an rclone union
remote.
2022-05-14 06:06:45 +08:00
See [List of backends that do not support rclone about ](https://rclone.org/overview/#optional-features ) and [rclone about ](https://rclone.org/commands/rclone_about/ )
2020-11-27 22:08:52 +08:00