rclone
This is an old revision of the document!
rclone
Sync dropbox, google drive,….
Exaple for dropbox:
[user@tuxvm ~]$ rclone config 2016/08/30 20:26:20 Failed to load config file "/home/user/.rclone.conf" - using defaults: open /home/user/.rclone.conf: no such file or directory No remotes found - make a new one n) New remote s) Set configuration password q) Quit config n/s/q> n name> dropbox Type of storage to configure. Choose a number from below, or type in your own value 1 / Amazon Drive \ "amazon cloud drive" 2 / Amazon S3 (also Dreamhost, Ceph, Minio) \ "s3" 3 / Backblaze B2 \ "b2" 4 / Dropbox \ "dropbox" 5 / Encrypt/Decrypt a remote \ "crypt" 6 / Google Cloud Storage (this is not Google Drive) \ "google cloud storage" 7 / Google Drive \ "drive" 8 / Hubic \ "hubic" 9 / Local Disk \ "local" 10 / Microsoft OneDrive \ "onedrive" 11 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH) \ "swift" 12 / Yandex Disk \ "yandex" Storage> dropbox Dropbox App Key - leave blank normally. app_key> Dropbox App Secret - leave blank normally. app_secret> Remote config Please visit: https://www.dropbox.com/1/oauth2/authorize?client_id=generatedclientid=code Enter the code: <yourcode> -------------------- [help] app_key = app_secret = token = <yourcode> -------------------- y) Yes this is OK e) Edit this remote d) Delete this remote y/e/d> y Current remotes: Name Type ==== ==== dropbox dropbox e) Edit existing remote n) New remote d) Delete remote s) Set configuration password q) Quit config e/n/d/s/q> q
List Complete directories:
[user@tuxvm ~]$ rclone ls dropbox:
0 xbmc/addon/README.md
463511 snapshot1.png
2016/08/30 20:32:07
Transferred: 0 Bytes (0 Bytes/s)
Errors: 0
Checks: 0
Transferred: 0
Elapsed time: 1.2s
Copy Files to Dropbox:
[user@tuxvm ~]$ rclone copy workspace/ dropbox:workspace/
rclone.1472641611.txt.gz · Last modified: 2021/04/24 07:38 (external edit)
