argonaught

rclone synology

Apr 7th, 2021 (edited)
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.73 KB | None | 0 0
  1. acmadmin@BABYLON:/$ sudo rclone config
  2. Password:
  3. 2021/04/07 11:33:14 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
  4. No remotes found - make a new one
  5. n) New remote
  6. s) Set configuration password
  7. q) Quit config
  8. n/s/q> n
  9. name> gdrive
  10. Type of storage to configure.
  11. Enter a string value. Press Enter for the default ("").
  12. Choose a number from below, or type in your own value
  13. 1 / 1Fichier
  14. \ "fichier"
  15. 2 / Alias for an existing remote
  16. \ "alias"
  17. 3 / Amazon Drive
  18. \ "amazon cloud drive"
  19. 4 / Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, and Tencent COS
  20. \ "s3"
  21. 5 / Backblaze B2
  22. \ "b2"
  23. 6 / Box
  24. \ "box"
  25. 7 / Cache a remote
  26. \ "cache"
  27. 8 / Citrix Sharefile
  28. \ "sharefile"
  29. 9 / Compress a remote
  30. \ "compress"
  31. 10 / Dropbox
  32. \ "dropbox"
  33. 11 / Encrypt/Decrypt a remote
  34. \ "crypt"
  35. 12 / Enterprise File Fabric
  36. \ "filefabric"
  37. 13 / FTP Connection
  38. \ "ftp"
  39. 14 / Google Cloud Storage (this is not Google Drive)
  40. \ "google cloud storage"
  41. 15 / Google Drive
  42. \ "drive"
  43. 16 / Google Photos
  44. \ "google photos"
  45. 17 / Hadoop distributed file system
  46. \ "hdfs"
  47. 18 / Hubic
  48. \ "hubic"
  49. 19 / In memory object storage system.
  50. \ "memory"
  51. 20 / Jottacloud
  52. \ "jottacloud"
  53. 21 / Koofr
  54. \ "koofr"
  55. 22 / Local Disk
  56. \ "local"
  57. 23 / Mail.ru Cloud
  58. \ "mailru"
  59. 24 / Mega
  60. \ "mega"
  61. 25 / Microsoft Azure Blob Storage
  62. \ "azureblob"
  63. 26 / Microsoft OneDrive
  64. \ "onedrive"
  65. 27 / OpenDrive
  66. \ "opendrive"
  67. 28 / OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
  68. \ "swift"
  69. 29 / Pcloud
  70. \ "pcloud"
  71. 30 / Put.io
  72. \ "putio"
  73. 31 / QingCloud Object Storage
  74. \ "qingstor"
  75. 32 / SSH/SFTP Connection
  76. \ "sftp"
  77. 33 / Sugarsync
  78. \ "sugarsync"
  79. 34 / Tardigrade Decentralized Cloud Storage
  80. \ "tardigrade"
  81. 35 / Transparently chunk/split large files
  82. \ "chunker"
  83. 36 / Union merges the contents of several upstream fs
  84. \ "union"
  85. 37 / Webdav
  86. \ "webdav"
  87. 38 / Yandex Disk
  88. \ "yandex"
  89. 39 / Zoho
  90. \ "zoho"
  91. 40 / http Connection
  92. \ "http"
  93. 41 / premiumize.me
  94. \ "premiumizeme"
  95. 42 / seafile
  96. \ "seafile"
  97. Storage> drive
  98. ** See help for drive backend at: https://rclone.org/drive/ **
  99.  
  100. Google Application Client Id
  101. Setting your own is recommended.
  102. See https://rclone.org/drive/#making-your-own-client-id for how to create your own.
  103. If you leave this blank, it will use an internal key which is low performance.
  104. Enter a string value. Press Enter for the default ("").
  105. client_id> REDACTED.apps.googleusercontent.com
  106. OAuth Client Secret
  107. Leave blank normally.
  108. Enter a string value. Press Enter for the default ("").
  109. client_secret> REDACTED
  110. Scope that rclone should use when requesting access from drive.
  111. Enter a string value. Press Enter for the default ("").
  112. Choose a number from below, or type in your own value
  113. 1 / Full access all files, excluding Application Data Folder.
  114. \ "drive"
  115. 2 / Read-only access to file metadata and file contents.
  116. \ "drive.readonly"
  117. / Access to files created by rclone only.
  118. 3 | These are visible in the drive website.
  119. | File authorization is revoked when the user deauthorizes the app.
  120. \ "drive.file"
  121. / Allows read and write access to the Application Data folder.
  122. 4 | This is not visible in the drive website.
  123. \ "drive.appfolder"
  124. / Allows read-only access to file metadata but
  125. 5 | does not allow any access to read or download file content.
  126. \ "drive.metadata.readonly"
  127. scope> 1
  128. ID of the root folder
  129. Leave blank normally.
  130.  
  131. Fill in to access "Computers" folders (see docs), or for rclone to use
  132. a non root folder as its starting point.
  133.  
  134. Enter a string value. Press Enter for the default ("").
  135. root_folder_id>
  136. Service Account Credentials JSON file path
  137. Leave blank normally.
  138. Needed only if you want use SA instead of interactive login.
  139.  
  140. Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
  141.  
  142. Enter a string value. Press Enter for the default ("").
  143. service_account_file>
  144. Edit advanced config? (y/n)
  145. y) Yes
  146. n) No (default)
  147. y/n>
  148. Remote config
  149. Use auto config?
  150. * Say Y if not sure
  151. * Say N if you are working on a remote or headless machine
  152. y) Yes (default)
  153. n) No
  154. y/n> n
  155. Please go to the following link: https://accounts.google.com/o/oauth2/REDACTED
  156. Log in and authorize rclone for access
  157. Enter verification code> REDACTED
  158. Configure this as a Shared Drive (Team Drive)?
  159. y) Yes
  160. n) No (default)
  161. y/n>
  162. --------------------
  163. [gdrive]
  164. type = drive
  165. client_id = REDACTED
  166. client_secret = REDACTED
  167. scope = drive
  168. token = REDACTED
  169. --------------------
  170. y) Yes this is OK (default)
  171. e) Edit this remote
  172. d) Delete this remote
  173. y/e/d> y
  174. Current remotes:
  175.  
  176. Name Type
  177. ==== ====
  178. gdrive drive
  179.  
  180. e) Edit existing remote
  181. n) New remote
  182. d) Delete remote
  183. r) Rename remote
  184. c) Copy remote
  185. s) Set configuration password
  186. q) Quit config
  187. e/n/d/r/c/s/q> q
  188. acmadmin@BABYLON:/$
  189. acmadmin@BABYLON:/$
  190. acmadmin@BABYLON:/$
  191. acmadmin@BABYLON:/$ rclone lsd gdrive:
  192. 2021/04/07 11:35:35 NOTICE: Config file "/var/services/homes/acmadmin/.rclone.conf" not found - using defaults
  193. 2021/04/07 11:35:35 Failed to create file system for "gdrive:": didn't find section in config file
  194. acmadmin@BABYLON:/$ sudo rclone lsd gdrive
  195. 2021/04/07 11:35:47 ERROR : : error listing: directory not found
  196. 2021/04/07 11:35:47 Failed to lsd with 2 errors: last error was: directory not found
  197. acmadmin@BABYLON:/$ rclone version
  198. 2021/04/07 11:43:44 NOTICE: Config file "/var/services/homes/acmadmin/.rclone.conf" not found - using defaults
  199. rclone v1.55.0
  200. - os/type: linux
  201. - os/arch: amd64
  202. - go/version: go1.16.2
  203. - go/linking: static
  204. - go/tags: cmount
  205.  
Add Comment
Please, Sign In to add comment