-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rclone.html
515 lines (347 loc) · 34.7 KB
/
Rclone.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Chrome, Firefox OS and Opera Status Bar Color -->
<meta name="theme-color" content="#FFFFFF">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css">
<link rel="stylesheet" type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.19.0/themes/prism.min.css">
<link rel="stylesheet" type="text/css" href="css/SourceSansPro.css">
<link rel="stylesheet" type="text/css" href="css/theme.css">
<link rel="stylesheet" type="text/css" href="css/notablog.css">
<link rel="stylesheet" type="text/css" href="css/CustomSetting.css">
<!-- Favicon -->
<link rel="shortcut icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text text-anchor=%22middle%22 dominant-baseline=%22middle%22 x=%2250%22 y=%2255%22 font-size=%2280%22>🥥</text></svg>">
<style>
:root {
font-size: 20px;
}
</style>
<title>Rclone maigsik 本地音乐 | 413’s Website</title>
<meta property="og:type" content="blog">
<meta property="og:title" content="Rclone maigsik 本地音乐">
<meta property="og:image" content="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text text-anchor=%22middle%22 dominant-baseline=%22middle%22 x=%2250%22 y=%2255%22 font-size=%2280%22>📻</text></svg>">
<style>
.DateTagBar {
margin-top: 1.0rem;
}
</style>
</head>
<body>
<nav class="Navbar">
<a href="index.html">
<div class="Navbar__Btn">
<span><img class="inline-img-icon" src="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text text-anchor=%22middle%22 dominant-baseline=%22middle%22 x=%2250%22 y=%2255%22 font-size=%2280%22>🥥</text></svg>"></span>
<span>Home</span>
</div>
</a>
<span class="Navbar__Delim">·</span>
<a href="blog-collection.html">
<div class="Navbar__Btn">
<span><img class="inline-img-icon" src="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text text-anchor=%22middle%22 dominant-baseline=%22middle%22 x=%2250%22 y=%2255%22 font-size=%2280%22>🥅</text></svg>"></span>
<span>blog mark</span>
</div>
</a>
<span class="Navbar__Delim">·</span>
<a href="Note.html">
<div class="Navbar__Btn">
<span><img class="inline-img-icon" src="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text text-anchor=%22middle%22 dominant-baseline=%22middle%22 x=%2250%22 y=%2255%22 font-size=%2280%22>🎶</text></svg>"></span>
<span>Note</span>
</div>
</a>
<span class="Navbar__Delim">·</span>
<a href="reference.html">
<div class="Navbar__Btn">
<span><img class="inline-img-icon" src="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text text-anchor=%22middle%22 dominant-baseline=%22middle%22 x=%2250%22 y=%2255%22 font-size=%2280%22>😷</text></svg>"></span>
<span>杂项</span>
</div>
</a>
<span class="Navbar__Delim">·</span>
<a href="About.html">
<div class="Navbar__Btn">
<span><img class="inline-img-icon" src="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text text-anchor=%22middle%22 dominant-baseline=%22middle%22 x=%2250%22 y=%2255%22 font-size=%2280%22>😀</text></svg>"></span>
<span>About</span>
</div>
</a>
</nav>
<header class="Header">
<div class="Header__Spacer Header__Spacer--NoCover">
</div>
<div class="Header__Icon">
<span><img class="inline-img-icon" src="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text text-anchor=%22middle%22 dominant-baseline=%22middle%22 x=%2250%22 y=%2255%22 font-size=%2280%22>📻</text></svg>"></span>
</div>
<h1 class="Header__Title">Rclone maigsik 本地音乐</h1>
<div class="DateTagBar">
<span class="DateTagBar__Item DateTagBar__Date">Posted on Wed, Nov 30, 2022</span>
<span class="DateTagBar__Item DateTagBar__Tag DateTagBar__Tag--green">
<a href="tag/Web.html">Web</a>
</span>
</div>
</header>
<div id="content-html"></div>
<article id="https://www.notion.so/246e3ebcca4a4413b7037bf4436e6adc" class="PageRoot PageRoot--FullWidth"><h1 id="https://www.notion.so/3b36119a74ba4d068afef3358656e096" class="ColorfulBlock ColorfulBlock--ColorDefault Heading Heading--1"><a class="Anchor" href="#https://www.notion.so/3b36119a74ba4d068afef3358656e096"><svg width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><span class="SemanticStringArray"><span class="SemanticString"><mark class="SemanticString__Fragment SemanticString__Fragment--HighlightedColor SemanticString__Fragment--ColorGreen"><strong class="SemanticString__Fragment SemanticString__Fragment--Bold">配置的内容:</strong></mark></span></span></h1><div id="https://www.notion.so/e97852f8ca6a441fb114ea93704b200f" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"></span></p></div><pre id="https://www.notion.so/42eea21ae6e440b78eb9bc02684c001c" class="Code Code--NoWrap"><code><span class="SemanticStringArray"><span class="SemanticString"><span>PS E:<span class="token punctuation">\</span>Dev<span class="token punctuation">\</span>rclone-v1.62.2-windows-amd6<span class="token operator"><span class="token file-descriptor important">4</span>></span> .<span class="token punctuation">\</span>rclone authorize <span class="token string">"onedrive"</span> <span class="token string">"6cxxxoqMTDWnJtWbqE"</span>
<span class="token number">2023</span>/03/22 <span class="token number">12</span>:18:45 NOTICE: Make sure your Redirect URL is <span class="token builtin class-name">set</span> to <span class="token string">"http://localhost:53682/"</span> <span class="token keyword">in</span> your custom config.
<span class="token number">2023</span>/03/22 <span class="token number">12</span>:18:45 NOTICE: If your browser doesn't <span class="token function">open</span> automatically go to the following link: http://127.0.0.1:53682/auth?state<span class="token operator">=</span>h-IKR1LgmsDyQUd_tz2x-Q
<span class="token number">2023</span>/03/22 <span class="token number">12</span>:18:45 NOTICE: Log <span class="token keyword">in</span> and authorize rclone <span class="token keyword">for</span> access
<span class="token number">2023</span>/03/22 <span class="token number">12</span>:18:45 NOTICE: Waiting <span class="token keyword">for</span> code<span class="token punctuation">..</span>.
<span class="token number">2023</span>/03/22 <span class="token number">12</span>:18:49 NOTICE: Got code
Paste the following into your remote machine ---<span class="token operator">></span>
<span class="token punctuation">{</span><span class="token string">"access_token"</span><span class="token builtin class-name">:</span><span class="token string">""</span>,<span class="token string">"expiry"</span><span class="token builtin class-name">:</span><span class="token string">"2023-03-22T12:40:42.6524031+08:00"</span><span class="token punctuation">}</span>
PS E:<span class="token punctuation">\</span>Dev<span class="token punctuation">\</span>rclone-v1.62.2-windows-amd6<span class="token operator"><span class="token file-descriptor important">4</span>></span> .<span class="token punctuation">\</span>rclone config
No remotes found, <span class="token function">make</span> a new one?
n<span class="token punctuation">)</span> New remote
s<span class="token punctuation">)</span> Set configuration password
q<span class="token punctuation">)</span> Quit config
n/s/q<span class="token operator">></span> n
Enter name <span class="token keyword">for</span> new remote.
name<span class="token operator">></span> OneMusic
Option Storage.
Type of storage to configure.
Choose a number from below, or <span class="token builtin class-name">type</span> <span class="token keyword">in</span> your own value.
<span class="token number">1</span> / 1Fichier
<span class="token punctuation">\</span> <span class="token punctuation">(</span>fichier<span class="token punctuation">)</span>
<span class="token number">2</span> / Akamai NetStorage
<span class="token punctuation">\</span> <span class="token punctuation">(</span>netstorage<span class="token punctuation">)</span>
<span class="token number">3</span> / Alias <span class="token keyword">for</span> an existing remote
<span class="token punctuation">\</span> <span class="token punctuation">(</span>alias<span class="token punctuation">)</span>
<span class="token number">4</span> / Amazon Drive
<span class="token punctuation">\</span> <span class="token punctuation">(</span>amazon cloud drive<span class="token punctuation">)</span>
<span class="token number">5</span> / Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, China Mobile, Cloudflare, ArvanCloud, DigitalOcean, Dreamhost, Huawei OBS, IBM COS, IDrive e2, IONOS Cloud, Liara, Lyve Cloud, Minio, Netease, RackCorp, Scaleway, SeaweedFS, StackPath, Storj, Tencent COS, Qiniu and Wasabi
<span class="token punctuation">\</span> <span class="token punctuation">(</span>s3<span class="token punctuation">)</span>
<span class="token number">6</span> / Backblaze B2
<span class="token punctuation">\</span> <span class="token punctuation">(</span>b2<span class="token punctuation">)</span>
<span class="token number">7</span> / Better checksums <span class="token keyword">for</span> other remotes
<span class="token punctuation">\</span> <span class="token punctuation">(</span>hasher<span class="token punctuation">)</span>
<span class="token number">8</span> / Box
<span class="token punctuation">\</span> <span class="token punctuation">(</span>box<span class="token punctuation">)</span>
<span class="token number">9</span> / Cache a remote
<span class="token punctuation">\</span> <span class="token punctuation">(</span>cache<span class="token punctuation">)</span>
<span class="token number">10</span> / Citrix Sharefile
<span class="token punctuation">\</span> <span class="token punctuation">(</span>sharefile<span class="token punctuation">)</span>
<span class="token number">11</span> / Combine several remotes into one
<span class="token punctuation">\</span> <span class="token punctuation">(</span>combine<span class="token punctuation">)</span>
<span class="token number">12</span> / Compress a remote
<span class="token punctuation">\</span> <span class="token punctuation">(</span>compress<span class="token punctuation">)</span>
<span class="token number">13</span> / Dropbox
<span class="token punctuation">\</span> <span class="token punctuation">(</span>dropbox<span class="token punctuation">)</span>
<span class="token number">14</span> / Encrypt/Decrypt a remote
<span class="token punctuation">\</span> <span class="token punctuation">(</span>crypt<span class="token punctuation">)</span>
<span class="token number">15</span> / Enterprise File Fabric
<span class="token punctuation">\</span> <span class="token punctuation">(</span>filefabric<span class="token punctuation">)</span>
<span class="token number">16</span> / FTP
<span class="token punctuation">\</span> <span class="token punctuation">(</span>ftp<span class="token punctuation">)</span>
<span class="token number">17</span> / Google Cloud Storage <span class="token punctuation">(</span>this is not Google Drive<span class="token punctuation">)</span>
<span class="token punctuation">\</span> <span class="token punctuation">(</span>google cloud storage<span class="token punctuation">)</span>
<span class="token number">18</span> / Google Drive
<span class="token punctuation">\</span> <span class="token punctuation">(</span>drive<span class="token punctuation">)</span>
<span class="token number">19</span> / Google Photos
<span class="token punctuation">\</span> <span class="token punctuation">(</span>google photos<span class="token punctuation">)</span>
<span class="token number">20</span> / HTTP
<span class="token punctuation">\</span> <span class="token punctuation">(</span>http<span class="token punctuation">)</span>
<span class="token number">21</span> / Hadoop distributed <span class="token function">file</span> system
<span class="token punctuation">\</span> <span class="token punctuation">(</span>hdfs<span class="token punctuation">)</span>
<span class="token number">22</span> / HiDrive
<span class="token punctuation">\</span> <span class="token punctuation">(</span>hidrive<span class="token punctuation">)</span>
<span class="token number">23</span> / In memory object storage system.
<span class="token punctuation">\</span> <span class="token punctuation">(</span>memory<span class="token punctuation">)</span>
<span class="token number">24</span> / Internet Archive
<span class="token punctuation">\</span> <span class="token punctuation">(</span>internetarchive<span class="token punctuation">)</span>
<span class="token number">25</span> / Jottacloud
<span class="token punctuation">\</span> <span class="token punctuation">(</span>jottacloud<span class="token punctuation">)</span>
<span class="token number">26</span> / Koofr, Digi Storage and other Koofr-compatible storage providers
<span class="token punctuation">\</span> <span class="token punctuation">(</span>koofr<span class="token punctuation">)</span>
<span class="token number">27</span> / Local Disk
<span class="token punctuation">\</span> <span class="token punctuation">(</span>local<span class="token punctuation">)</span>
<span class="token number">28</span> / Mail.ru Cloud
<span class="token punctuation">\</span> <span class="token punctuation">(</span>mailru<span class="token punctuation">)</span>
<span class="token number">29</span> / Mega
<span class="token punctuation">\</span> <span class="token punctuation">(</span>mega<span class="token punctuation">)</span>
<span class="token number">30</span> / Microsoft Azure Blob Storage
<span class="token punctuation">\</span> <span class="token punctuation">(</span>azureblob<span class="token punctuation">)</span>
<span class="token number">31</span> / Microsoft OneDrive
<span class="token punctuation">\</span> <span class="token punctuation">(</span>onedrive<span class="token punctuation">)</span>
<span class="token number">32</span> / OpenDrive
<span class="token punctuation">\</span> <span class="token punctuation">(</span>opendrive<span class="token punctuation">)</span>
<span class="token number">33</span> / OpenStack Swift <span class="token punctuation">(</span>Rackspace Cloud Files, Memset Memstore, OVH<span class="token punctuation">)</span>
<span class="token punctuation">\</span> <span class="token punctuation">(</span>swift<span class="token punctuation">)</span>
<span class="token number">34</span> / Oracle Cloud Infrastructure Object Storage
<span class="token punctuation">\</span> <span class="token punctuation">(</span>oracleobjectstorage<span class="token punctuation">)</span>
<span class="token number">35</span> / Pcloud
<span class="token punctuation">\</span> <span class="token punctuation">(</span>pcloud<span class="token punctuation">)</span>
<span class="token number">36</span> / Put.io
<span class="token punctuation">\</span> <span class="token punctuation">(</span>putio<span class="token punctuation">)</span>
<span class="token number">37</span> / QingCloud Object Storage
<span class="token punctuation">\</span> <span class="token punctuation">(</span>qingstor<span class="token punctuation">)</span>
<span class="token number">38</span> / SMB / CIFS
<span class="token punctuation">\</span> <span class="token punctuation">(</span>smb<span class="token punctuation">)</span>
<span class="token number">39</span> / SSH/SFTP
<span class="token punctuation">\</span> <span class="token punctuation">(</span>sftp<span class="token punctuation">)</span>
<span class="token number">40</span> / Sia Decentralized Cloud
<span class="token punctuation">\</span> <span class="token punctuation">(</span>sia<span class="token punctuation">)</span>
<span class="token number">41</span> / Storj Decentralized Cloud Storage
<span class="token punctuation">\</span> <span class="token punctuation">(</span>storj<span class="token punctuation">)</span>
<span class="token number">42</span> / Sugarsync
<span class="token punctuation">\</span> <span class="token punctuation">(</span>sugarsync<span class="token punctuation">)</span>
<span class="token number">43</span> / Transparently chunk/split large files
<span class="token punctuation">\</span> <span class="token punctuation">(</span>chunker<span class="token punctuation">)</span>
<span class="token number">44</span> / Union merges the contents of several upstream fs
<span class="token punctuation">\</span> <span class="token punctuation">(</span>union<span class="token punctuation">)</span>
<span class="token number">45</span> / Uptobox
<span class="token punctuation">\</span> <span class="token punctuation">(</span>uptobox<span class="token punctuation">)</span>
<span class="token number">46</span> / WebDAV
<span class="token punctuation">\</span> <span class="token punctuation">(</span>webdav<span class="token punctuation">)</span>
<span class="token number">47</span> / Yandex Disk
<span class="token punctuation">\</span> <span class="token punctuation">(</span>yandex<span class="token punctuation">)</span>
<span class="token number">48</span> / Zoho
<span class="token punctuation">\</span> <span class="token punctuation">(</span>zoho<span class="token punctuation">)</span>
<span class="token number">49</span> / premiumize.me
<span class="token punctuation">\</span> <span class="token punctuation">(</span>premiumizeme<span class="token punctuation">)</span>
<span class="token number">50</span> / seafile
<span class="token punctuation">\</span> <span class="token punctuation">(</span>seafile<span class="token punctuation">)</span>
Storage<span class="token operator">></span> <span class="token number">31</span>
Option client_id.
OAuth Client Id.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_id<span class="token operator">></span> 6c1a28xxxxe0
Option client_secret.
OAuth Client Secret.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_secret<span class="token operator">></span> WVQxxxxxzoqMTDWnJtWbqE
Option region.
Choose national cloud region <span class="token keyword">for</span> OneDrive.
Choose a number from below, or <span class="token builtin class-name">type</span> <span class="token keyword">in</span> your own string value.
Press Enter <span class="token keyword">for</span> the default <span class="token punctuation">(</span>global<span class="token punctuation">)</span>.
<span class="token number">1</span> / Microsoft Cloud Global
<span class="token punctuation">\</span> <span class="token punctuation">(</span>global<span class="token punctuation">)</span>
<span class="token number">2</span> / Microsoft Cloud <span class="token keyword">for</span> US Government
<span class="token punctuation">\</span> <span class="token punctuation">(</span>us<span class="token punctuation">)</span>
<span class="token number">3</span> / Microsoft Cloud Germany
<span class="token punctuation">\</span> <span class="token punctuation">(</span>de<span class="token punctuation">)</span>
<span class="token number">4</span> / Azure and Office <span class="token number">365</span> operated by Vnet Group <span class="token keyword">in</span> China
<span class="token punctuation">\</span> <span class="token punctuation">(</span>cn<span class="token punctuation">)</span>
region<span class="token operator">></span> <span class="token number">1</span>
Edit advanced config?
y<span class="token punctuation">)</span> Yes
n<span class="token punctuation">)</span> No <span class="token punctuation">(</span>default<span class="token punctuation">)</span>
y/n<span class="token operator">></span> n
Use web browser to automatically authenticate rclone with remote?
* Say Y <span class="token keyword">if</span> the machine running rclone has a web browser you can use
* Say N <span class="token keyword">if</span> running rclone on a <span class="token punctuation">(</span>remote<span class="token punctuation">)</span> machine without web browser access
If not sure try Y. If Y failed, try N.
y<span class="token punctuation">)</span> Yes <span class="token punctuation">(</span>default<span class="token punctuation">)</span>
n<span class="token punctuation">)</span> No
y/n<span class="token operator">></span> n
Option config_token.
For this to work, you will need rclone available on a machine that has
a web browser available.
For <span class="token function">more</span> <span class="token builtin class-name">help</span> and alternate methods see: https://rclone.org/remote_setup/
Execute the following on the machine with the web browser <span class="token punctuation">(</span>same rclone
version recommended<span class="token punctuation">)</span>:
rclone authorize <span class="token string">"onedrive"</span> <span class="token string">"eyJjbGllxxUxxbkp0V2JxRSJ9"</span>
Then <span class="token function">paste</span> the result.
Enter a value.
config_token<span class="token operator">></span> <span class="token punctuation">{</span><span class="token string">"access_token"</span><span class="token builtin class-name">:</span><span class="token string">""</span>,<span class="token string">"expiry"</span><span class="token builtin class-name">:</span><span class="token string">"2023-03-22T12:40:42.6524031+08:00"</span><span class="token punctuation">}</span>
Option config_type.
Type of connection
Choose a number from below, or <span class="token builtin class-name">type</span> <span class="token keyword">in</span> an existing string value.
Press Enter <span class="token keyword">for</span> the default <span class="token punctuation">(</span>onedrive<span class="token punctuation">)</span>.
<span class="token number">1</span> / OneDrive Personal or Business
<span class="token punctuation">\</span> <span class="token punctuation">(</span>onedrive<span class="token punctuation">)</span>
<span class="token number">2</span> / Root Sharepoint site
<span class="token punctuation">\</span> <span class="token punctuation">(</span>sharepoint<span class="token punctuation">)</span>
/ Sharepoint site name or URL
<span class="token number">3</span> <span class="token operator">|</span> E.g. mysite or https://contoso.sharepoint.com/sites/mysite
<span class="token punctuation">\</span> <span class="token punctuation">(</span>url<span class="token punctuation">)</span>
<span class="token number">4</span> / Search <span class="token keyword">for</span> a Sharepoint site
<span class="token punctuation">\</span> <span class="token punctuation">(</span>search<span class="token punctuation">)</span>
<span class="token number">5</span> / Type <span class="token keyword">in</span> driveID <span class="token punctuation">(</span>advanced<span class="token punctuation">)</span>
<span class="token punctuation">\</span> <span class="token punctuation">(</span>driveid<span class="token punctuation">)</span>
<span class="token number">6</span> / Type <span class="token keyword">in</span> SiteID <span class="token punctuation">(</span>advanced<span class="token punctuation">)</span>
<span class="token punctuation">\</span> <span class="token punctuation">(</span>siteid<span class="token punctuation">)</span>
/ Sharepoint server-relative path <span class="token punctuation">(</span>advanced<span class="token punctuation">)</span>
<span class="token number">7</span> <span class="token operator">|</span> E.g. /teams/hr
<span class="token punctuation">\</span> <span class="token punctuation">(</span>path<span class="token punctuation">)</span>
config_type<span class="token operator">></span> <span class="token number">1</span>
Option config_driveid.
Select drive you want to use
Choose a number from below, or <span class="token builtin class-name">type</span> <span class="token keyword">in</span> your own string value.
Press Enter <span class="token keyword">for</span> the default <span class="token punctuation">(</span>b<span class="token operator">!</span>v83P4RgYYEWmnzOjKs3kRyJ-nHD7OyRIu8y4erYw7RmUsMPzXJQ-RZfn26kOtqlo<span class="token punctuation">)</span>.
<span class="token number">1</span> / OneDrive <span class="token punctuation">(</span>business<span class="token punctuation">)</span>
<span class="token punctuation">\</span> <span class="token punctuation">(</span>b<span class="token operator">!</span>v83P4RgYYEWmnzOjKs3kRyJ-nHD7OyRIu8y4erYw7RmUsMPzXJQ-RZfn26kOtqlo<span class="token punctuation">)</span>
config_driveid<span class="token operator">></span> <span class="token number">1</span>
Drive OK?
Found drive <span class="token string">"root"</span> of <span class="token builtin class-name">type</span> <span class="token string">"business"</span>
URL: https://mdx-my.sharxxxxsoft_com/Documents
y<span class="token punctuation">)</span> Yes <span class="token punctuation">(</span>default<span class="token punctuation">)</span>
n<span class="token punctuation">)</span> No
y/n<span class="token operator">></span> <span class="token number">1</span>
This value must be one of the following characters: y, n.
y/n<span class="token operator">></span> y
Configuration complete.
Options:
- type: onedrive
- client_id: 6c1a285d-4fexxxxxx4109a6e0
- client_secret: WVQ8Q~UAksxxxxxxqMTDWnJtWbqE
- token: <span class="token punctuation">{</span><span class="token string">"access_token"</span><span class="token builtin class-name">:</span><span class="token string">""</span>,<span class="token string">"expiry"</span><span class="token builtin class-name">:</span><span class="token string">"2023-03-22T12:40:42.6524031+08:00"</span><span class="token punctuation">}</span>
- drive_id: b<span class="token operator">!</span>v83P4RgYYEWmnzOjKs3kRxxxxxxsMPzXJQ-RZfn26kOtqlo
- drive_type: business
Keep this <span class="token string">"OneMusic"</span> remote?
y<span class="token punctuation">)</span> Yes this is OK <span class="token punctuation">(</span>default<span class="token punctuation">)</span>
e<span class="token punctuation">)</span> Edit this remote
d<span class="token punctuation">)</span> Delete this remote
y/e/d<span class="token operator">></span> y
Current remotes:
Name Type
<span class="token operator">==</span><span class="token operator">==</span> <span class="token operator">==</span><span class="token operator">==</span>
OneMusic onedrive
e<span class="token punctuation">)</span> Edit existing remote
n<span class="token punctuation">)</span> New remote
d<span class="token punctuation">)</span> Delete remote
r<span class="token punctuation">)</span> Rename remote
c<span class="token punctuation">)</span> Copy remote
s<span class="token punctuation">)</span> Set configuration password
q<span class="token punctuation">)</span> Quit config
e/n/d/r/c/s/q<span class="token operator">></span></span></span></span></code></pre><h2 id="https://www.notion.so/32067f6d5a1643d6a1a1678284229c1d" class="ColorfulBlock ColorfulBlock--ColorDefault Heading Heading--2"><a class="Anchor" href="#https://www.notion.so/32067f6d5a1643d6a1a1678284229c1d"><svg width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><span class="SemanticStringArray"><span class="SemanticString">导出</span><span class="SemanticString"><mark class="SemanticString__Fragment SemanticString__Fragment--HighlightedColor SemanticString__Fragment--ColorRed"><code class="SemanticString__Fragment SemanticString__Fragment--Code"><strong class="SemanticString__Fragment SemanticString__Fragment--Bold">rclone.conf</strong></code></mark></span></span></h2><pre id="https://www.notion.so/5b0a591a578f4c32a1a433930353e578" class="Code Code--NoWrap"><code><span class="SemanticStringArray"><span class="SemanticString"><span>path:C:\Users\Shaox\AppData\Roaming\rclone</span></span></span></code></pre><div id="https://www.notion.so/bec7b925f39249099d51a5674019cc45" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"></span></p></div><div id="https://www.notion.so/3a1e1917fe6e4a509d54b40cc70a64a2" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"><span class="SemanticString">其中我是配置Onedrive,访问速度看个人。</span></span></p></div><pre id="https://www.notion.so/f5cbc078fb7a4e6f9fb71571cf92e386" class="Code Code--NoWrap"><code><span class="SemanticStringArray"><span class="SemanticString"><span>其中 .param的配置文件可以参看官方</span></span></span></code></pre><div id="https://www.notion.so/6dd506bb0e534fc5983ece8a9bd793ff" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"><span class="SemanticString">我的配置</span><span class="SemanticString"><code class="SemanticString__Fragment SemanticString__Fragment--Code"><mark class="SemanticString__Fragment SemanticString__Fragment--HighlightedColor SemanticString__Fragment--ColorRed"><strong class="SemanticString__Fragment SemanticString__Fragment--Bold">global.param</strong></mark></code></span></span></p></div><pre id="https://www.notion.so/149b36f31fcf423dab73edd93219ef0d" class="Code Code--NoWrap"><code><span class="SemanticStringArray"><span class="SemanticString"><span><span class="token assign-left variable">NETCHK_ADDR</span><span class="token operator">=</span>baidu.com
<span class="token assign-left variable">CACHEMODE</span><span class="token operator">=</span>minimal
<span class="token assign-left variable">BINDSD</span><span class="token operator">=</span><span class="token number">1</span>
<span class="token assign-left variable">DIRCACHETIME</span><span class="token operator">=</span>30m0s
<span class="token assign-left variable">ADD_PARAMS</span><span class="token operator">=</span>--vfs-cache-max-size <span class="token string">'2G'</span>
--fast-list --allow-non-empty
--attr-timeout <span class="token string">'30s'</span>
--use-mmap --no-modtime <span class="token parameter variable">--uid</span> <span class="token string">'0'</span> <span class="token parameter variable">--gid</span> <span class="token string">'1015'</span>
--dir-perms <span class="token string">'0775'</span> --file-perms <span class="token string">'0644'</span>
<span class="token parameter variable">--umask</span> <span class="token string">'002'</span>
<span class="token assign-left variable">HTTP</span><span class="token operator">=</span>0FTP<span class="token operator">=</span><span class="token number">0</span></span></span></span></code></pre><div id="https://www.notion.so/7cce06d8a5394281ab27a63de62f92e9" class="Bookmark"><a href="https://rclone.org/"><h5 class="Bookmark__Title">Rclone</h5><p class="Bookmark__Desc">Rclone syncs your files to cloud storage: Google Drive, S3, Swift, Dropbox, Google Cloud Storage, Azure, Box and many more.</p><p class="Bookmark__Link">https://rclone.org/</p></a></div><div id="https://www.notion.so/da5a6a74443f4333b17ef97d340b3911" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"><span class="SemanticString">可以查看VFS了解详细参数的配置</span></span></p></div><div id="https://www.notion.so/a96b108655dc42bfb9f82a5d236bc95a" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"></span></p></div><ul id="https://www.notion.so/bb14206b93344185b0af9a86658c2de3" class="ColorfulBlock ColorfulBlock--ColorGray TableOfContents"><li class="TableOfContents__Item"><a href="#https://www.notion.so/3b36119a74ba4d068afef3358656e096"><div style="margin-left:0px"><span class="SemanticStringArray"><span class="SemanticString"><mark class="SemanticString__Fragment SemanticString__Fragment--HighlightedColor SemanticString__Fragment--ColorGreen"><strong class="SemanticString__Fragment SemanticString__Fragment--Bold">配置的内容:</strong></mark></span></span></div></a></li><li class="TableOfContents__Item"><a href="#https://www.notion.so/32067f6d5a1643d6a1a1678284229c1d"><div style="margin-left:24px"><span class="SemanticStringArray"><span class="SemanticString">导出</span><span class="SemanticString"><mark class="SemanticString__Fragment SemanticString__Fragment--HighlightedColor SemanticString__Fragment--ColorRed"><code class="SemanticString__Fragment SemanticString__Fragment--Code"><strong class="SemanticString__Fragment SemanticString__Fragment--Bold">rclone.conf</strong></code></mark></span></span></div></a></li></ul></article>
<aside class="Aside">
<a href="#content-html"><div id="up">👆</div></a>
<a href="#message-board"><div id="down">👇</div></a>
</aside>
<div id="message-board"></div>
<script src="https://utteranc.es/client.js"
repo="syx-413/syx-413.github.io"
issue-term="pathname"
theme="boxy-light"
crossorigin="anonymous"
async>
</script>
<footer class="Footer">
<div>
© 413’s Website 2020~2024
</div>
<div>
·
</div>
<div>
Powered by
<a href="https://github.com/syx-413" target="_blank" rel="noopener noreferrer"> notablog</a>.
</div>
</footer>
</body>
</html>