github.com/ncw/rclone@v1.48.1-0.20190724201158-a35aa1360e3e/docs/content/pcloud.md (about) 1 --- 2 title: "pCloud" 3 description: "Rclone docs for pCloud" 4 date: "2017-10-01" 5 --- 6 7 <i class="fa fa-cloud"></i> pCloud 8 ----------------------------------------- 9 10 Paths are specified as `remote:path` 11 12 Paths may be as deep as required, eg `remote:directory/subdirectory`. 13 14 The initial setup for pCloud involves getting a token from pCloud which you 15 need to do in your browser. `rclone config` walks you through it. 16 17 Here is an example of how to make a remote called `remote`. First run: 18 19 rclone config 20 21 This will guide you through an interactive setup process: 22 23 ``` 24 No remotes found - make a new one 25 n) New remote 26 s) Set configuration password 27 q) Quit config 28 n/s/q> n 29 name> remote 30 Type of storage to configure. 31 Choose a number from below, or type in your own value 32 1 / Amazon Drive 33 \ "amazon cloud drive" 34 2 / Amazon S3 (also Dreamhost, Ceph, Minio) 35 \ "s3" 36 3 / Backblaze B2 37 \ "b2" 38 4 / Box 39 \ "box" 40 5 / Dropbox 41 \ "dropbox" 42 6 / Encrypt/Decrypt a remote 43 \ "crypt" 44 7 / FTP Connection 45 \ "ftp" 46 8 / Google Cloud Storage (this is not Google Drive) 47 \ "google cloud storage" 48 9 / Google Drive 49 \ "drive" 50 10 / Hubic 51 \ "hubic" 52 11 / Local Disk 53 \ "local" 54 12 / Microsoft Azure Blob Storage 55 \ "azureblob" 56 13 / Microsoft OneDrive 57 \ "onedrive" 58 14 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH) 59 \ "swift" 60 15 / Pcloud 61 \ "pcloud" 62 16 / QingCloud Object Storage 63 \ "qingstor" 64 17 / SSH/SFTP Connection 65 \ "sftp" 66 18 / Yandex Disk 67 \ "yandex" 68 19 / http Connection 69 \ "http" 70 Storage> pcloud 71 Pcloud App Client Id - leave blank normally. 72 client_id> 73 Pcloud App Client Secret - leave blank normally. 74 client_secret> 75 Remote config 76 Use auto config? 77 * Say Y if not sure 78 * Say N if you are working on a remote or headless machine 79 y) Yes 80 n) No 81 y/n> y 82 If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth 83 Log in and authorize rclone for access 84 Waiting for code... 85 Got code 86 -------------------- 87 [remote] 88 client_id = 89 client_secret = 90 token = {"access_token":"XXX","token_type":"bearer","expiry":"0001-01-01T00:00:00Z"} 91 -------------------- 92 y) Yes this is OK 93 e) Edit this remote 94 d) Delete this remote 95 y/e/d> y 96 ``` 97 98 See the [remote setup docs](/remote_setup/) for how to set it up on a 99 machine with no Internet browser available. 100 101 Note that rclone runs a webserver on your local machine to collect the 102 token as returned from pCloud. This only runs from the moment it opens 103 your browser to the moment you get back the verification code. This 104 is on `http://127.0.0.1:53682/` and this it may require you to unblock 105 it temporarily if you are running a host firewall. 106 107 Once configured you can then use `rclone` like this, 108 109 List directories in top level of your pCloud 110 111 rclone lsd remote: 112 113 List all the files in your pCloud 114 115 rclone ls remote: 116 117 To copy a local directory to an pCloud directory called backup 118 119 rclone copy /home/source remote:backup 120 121 ### Modified time and hashes ### 122 123 pCloud allows modification times to be set on objects accurate to 1 124 second. These will be used to detect whether objects need syncing or 125 not. In order to set a Modification time pCloud requires the object 126 be re-uploaded. 127 128 pCloud supports MD5 and SHA1 type hashes, so you can use the 129 `--checksum` flag. 130 131 ### Deleting files ### 132 133 Deleted files will be moved to the trash. Your subscription level 134 will determine how long items stay in the trash. `rclone cleanup` can 135 be used to empty the trash. 136 137 <!--- autogenerated options start - DO NOT EDIT, instead edit fs.RegInfo in backend/pcloud/pcloud.go then run make backenddocs --> 138 ### Standard Options 139 140 Here are the standard options specific to pcloud (Pcloud). 141 142 #### --pcloud-client-id 143 144 Pcloud App Client Id 145 Leave blank normally. 146 147 - Config: client_id 148 - Env Var: RCLONE_PCLOUD_CLIENT_ID 149 - Type: string 150 - Default: "" 151 152 #### --pcloud-client-secret 153 154 Pcloud App Client Secret 155 Leave blank normally. 156 157 - Config: client_secret 158 - Env Var: RCLONE_PCLOUD_CLIENT_SECRET 159 - Type: string 160 - Default: "" 161 162 <!--- autogenerated options stop -->