[yunrui@dtn1 ~]$ rclone config -vv
2023/02/15 16:22:30 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "config" "-vv"]
2023/02/15 16:22:30 DEBUG : Using config file from "/u/home/y/yunrui/.config/rclone/rclone.conf"
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> box
Option Storage.
Type of storage to configure.
Choose a number from below, or type in your own value.
1 / 1Fichier
\ (fichier)
2 / Akamai NetStorage
\ (netstorage)
3 / Alias for an existing remote
\ (alias)
4 / Amazon Drive
\ (amazon cloud drive)
5 / Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, China M obile, Cloudflare, ArvanCloud, DigitalOcean, Dreamhost, Huawei OBS, IBM COS, IDr ive e2, IONOS Cloud, Liara, Lyve Cloud, Minio, Netease, RackCorp, Scaleway, Seaw eedFS, StackPath, Storj, Tencent COS, Qiniu and Wasabi
\ (s3)
6 / Backblaze B2
\ (b2)
7 / Better checksums for other remotes
\ (hasher)
8 / Box
\ (box)
9 / Cache a remote
\ (cache)
10 / Citrix Sharefile
\ (sharefile)
11 / Combine several remotes into one
\ (combine)
12 / Compress a remote
\ (compress)
13 / Dropbox
\ (dropbox)
14 / Encrypt/Decrypt a remote
\ (crypt)
15 / Enterprise File Fabric
\ (filefabric)
16 / FTP
\ (ftp)
17 / Google Cloud Storage (this is not Google Drive)
\ (google cloud storage)
18 / Google Drive
\ (drive)
19 / Google Photos
\ (google photos)
20 / HTTP
\ (http)
21 / Hadoop distributed file system
\ (hdfs)
22 / HiDrive
\ (hidrive)
23 / In memory object storage system.
\ (memory)
24 / Internet Archive
\ (internetarchive)
25 / Jottacloud
\ (jottacloud)
26 / Koofr, Digi Storage and other Koofr-compatible storage providers
\ (koofr)
27 / Local Disk
\ (local)
28 / Mail.ru Cloud
\ (mailru)
29 / Mega
\ (mega)
30 / Microsoft Azure Blob Storage
\ (azureblob)
31 / Microsoft OneDrive
\ (onedrive)
32 / OpenDrive
\ (opendrive)
33 / OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
\ (swift)
34 / Oracle Cloud Infrastructure Object Storage
\ (oracleobjectstorage)
35 / Pcloud
\ (pcloud)
36 / Put.io
\ (putio)
37 / QingCloud Object Storage
\ (qingstor)
38 / SMB / CIFS
\ (smb)
39 / SSH/SFTP
\ (sftp)
40 / Sia Decentralized Cloud
\ (sia)
41 / Storj Decentralized Cloud Storage
\ (storj)
42 / Sugarsync
\ (sugarsync)
43 / Transparently chunk/split large files
\ (chunker)
44 / Union merges the contents of several upstream fs
\ (union)
45 / Uptobox
\ (uptobox)
46 / WebDAV
\ (webdav)
47 / Yandex Disk
\ (yandex)
48 / Zoho
\ (zoho)
49 /premiumize.me
\ (premiumizeme)
50 / seafile
\ (seafile)
Storage> box
2023/02/15 16:22:39 DEBUG : box: config in: state="*all", result=""
2023/02/15 16:22:39 DEBUG : box: config out: out=&{State:*all-set,0,false Option : OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:39 DEBUG : box: config: reading config parameter "client_id"
Option client_id.
OAuth Client Id.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_id>
2023/02/15 16:22:40 DEBUG : box: config in: state="*all-set,0,false", result=""
2023/02/15 16:22:40 DEBUG : box: config out: out=&{State:*all,1,false Option:<ni l> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:40 DEBUG : box: config in: state="*all,1,false", result=""
2023/02/15 16:22:40 DEBUG : box: config out: out=&{State:*all-set,1,false Option : OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:40 DEBUG : box: config: reading config parameter "client_secret "
Option client_secret.
OAuth Client Secret.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_secret>
2023/02/15 16:22:40 DEBUG : box: config in: state="*all-set,1,false", result=""
2023/02/15 16:22:40 DEBUG : box: config out: out=&{State:*all,2,false Option:<ni l> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:40 DEBUG : box: config in: state="*all,2,false", result=""
2023/02/15 16:22:40 DEBUG : box: config out: out=&{State:*all,3,false Option:<ni l> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:40 DEBUG : box: config in: state="*all,3,false", result=""
2023/02/15 16:22:40 DEBUG : box: config out: out=&{State:*all,4,false Option:<ni l> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:40 DEBUG : box: config in: state="*all,4,false", result=""
2023/02/15 16:22:40 DEBUG : box: config out: out=&{State:*all,5,false Option:<ni l> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:40 DEBUG : box: config in: state="*all,5,false", result=""
2023/02/15 16:22:40 DEBUG : box: config out: out=&{State:*all,6,false Option:<ni l> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:40 DEBUG : box: config in: state="*all,6,false", result=""
2023/02/15 16:22:40 DEBUG : box: config out: out=&{State:*all-set,6,false Option : OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:40 DEBUG : box: config: reading config parameter "box_config_fi le"
Option box_config_file.
Box App config.json location
Leave blank normally.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
Enter a value. Press Enter to leave empty.
box_config_file>
2023/02/15 16:22:41 DEBUG : box: config in: state="*all-set,6,false", result=""
2023/02/15 16:22:41 DEBUG : box: config out: out=&{State:*all,7,false Option:<ni l> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:41 DEBUG : box: config in: state="*all,7,false", result=""
2023/02/15 16:22:41 DEBUG : box: config out: out=&{State:*all-set,7,false Option : OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:41 DEBUG : box: config: reading config parameter "access_token"
Option access_token.
Box App Primary Access Token
Leave blank normally.
Enter a value. Press Enter to leave empty.
access_token>
2023/02/15 16:22:42 DEBUG : box: config in: state="*all-set,7,false", result="" "us er"
2023/02/15 16:22:43 DEBUG : box: config out: out=&{State:*all,9,false Option:<ni l> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:43 DEBUG : box: config in: state="*all,9,false", result=""
2023/02/15 16:22:43 DEBUG : box: config out: out=&{State:*all,10,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:43 DEBUG : box: config in: state="*all,10,false", result=""
2023/02/15 16:22:43 DEBUG : box: config out: out=&{State:*all,11,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:43 DEBUG : box: config in: state="*all,11,false", result=""
2023/02/15 16:22:43 DEBUG : box: config out: out=&{State:*all,12,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:43 DEBUG : box: config in: state="*all,12,false", result=""
2023/02/15 16:22:43 DEBUG : box: config out: out=&{State:*all,13,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:43 DEBUG : box: config in: state="*all,13,false", result=""
2023/02/15 16:22:43 DEBUG : box: config out: out=&{State:*all,14,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:43 DEBUG : box: config in: state="*all,14,false", result=""
2023/02/15 16:22:43 DEBUG : box: config out: out=&{State:*all-advanced Option:false OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:43 DEBUG : box: config: reading config parameter "config_fs_advanced"
Edit advanced config?
y) Yes
n) No (default)
y/n> n
2023/02/15 16:22:46 DEBUG : box: config in: state="*all-advanced", result="false"
2023/02/15 16:22:46 DEBUG : box: config out: out=&{State:*postconfig Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:46 DEBUG : box: config in: state="*postconfig", result=""
2023/02/15 16:22:46 DEBUG : box: config in: state="", result=""
2023/02/15 16:22:46 DEBUG : box: config out: out=&{State:*oauth,,, Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:46 DEBUG : box: config out: out=&{State:*oauth,,, Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:46 DEBUG : box: config: reading config parameter "config_is_local"
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.
y) Yes (default)
n) No
y/n> y
2023/02/15 16:22:48 DEBUG : box: config in: state="*oauth-islocal,,,", result="true"
2023/02/15 16:22:48 DEBUG : box: config out: out=&{State:*oauth-do,,, Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2023/02/15 16:22:48 DEBUG : box: config in: state="*oauth-do,,,", result=""
2023/02/15 16:22:48 DEBUG : Starting auth server on 127.0.0.1:53682
2023/02/15 16:22:48 NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=CYAw_2s4D7K1SVbk-Tp8Sg
2023/02/15 16:22:48 NOTICE: Log in and authorize rclone for access
2023/02/15 16:22:48 NOTICE: Waiting for code...
2023/02/15 16:22:58 DEBUG : Redirecting browser to: https://app.box.com/api/oauth2/authorize?access_type=offline&client_id=d0374ba6pgmaguie02ge15sv1mllndho&redirect_uri=http%3A%2F%2F127.0.0.1%3A53682%2F&response_type=code&state=CYAw_2s4D7K1SVbk-Tp8Sg
^[[B^[[A