123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="Rclone docs for pCloud">
- <meta name="author" content="Nick Craig-Wood">
- <link rel="shortcut icon" type="image/png" href="/img/rclone-16x16.png"/>
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-51081799-1', 'rclone.org');
- ga('send', 'pageview');
- </script>
- <title>pCloud</title>
- <link rel="canonical" href="https://rclone.org/pcloud/">
- <link href="/css/bootstrap.css" rel="stylesheet">
- <link href="/css/font-awesome.css" rel="stylesheet">
- <link href="/css/custom.css" rel="stylesheet">
-
- </head>
- <body>
- <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
- <span class="sr-only">Toggle Navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="https://rclone.org"><i class="fa fa-home"></i> rclone - rsync for cloud storage</a>
- </div>
- <div class="collapse navbar-collapse navbar-ex1-collapse">
- <ul class="nav navbar-nav">
- <li><a href="/downloads/"><i class="fa fa-cloud-download"></i> Downloads</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b class="caret"></b> Docs</a>
- <ul class="dropdown-menu pre-scrollable">
- <li><a href="/install/"><i class="fa fa-book"></i> Installation</a></li>
- <li><a href="/docs/"><i class="fa fa-book"></i> Usage</a></li>
- <li><a href="/filtering/"><i class="fa fa-book"></i> Filtering</a></li>
- <li><a href="/rc/"><i class="fa fa-book"></i> Remote Control</a></li>
- <li><a href="/changelog/"><i class="fa fa-book"></i> Changelog</a></li>
- <li><a href="/bugs/"><i class="fa fa-book"></i> Bugs</a></li>
- <li><a href="/faq/"><i class="fa fa-book"></i> FAQ</a></li>
- <li><a href="/licence/"><i class="fa fa-book"></i> Licence</a></li>
- <li><a href="/authors/"><i class="fa fa-book"></i> Authors</a></li>
- <li><a href="/donate/"><i class="fa fa-heart"></i> Donate</a></li>
- <li><a href="/privacy/"><i class="fa fa-book"></i> Privacy Policy</a></li>
- </ul>
- </li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b class="caret"></b> Commands</a>
- <ul class="dropdown-menu pre-scrollable">
- <li><a href="/commands/rclone_config/"><i class="fa fa-book"></i> rclone config</a></li>
- <li><a href="/commands/rclone_copy/"><i class="fa fa-book"></i> rclone copy</a></li>
- <li><a href="/commands/rclone_sync/"><i class="fa fa-book"></i> rclone sync</a></li>
- <li><a href="/commands/rclone_move/"><i class="fa fa-book"></i> rclone move</a></li>
- <li><a href="/commands/rclone_purge/"><i class="fa fa-book"></i> rclone purge</a></li>
- <li><a href="/commands/rclone_mkdir/"><i class="fa fa-book"></i> rclone mkdir</a></li>
- <li><a href="/commands/rclone_rmdir/"><i class="fa fa-book"></i> rclone rmdir</a></li>
- <li><a href="/commands/rclone_check/"><i class="fa fa-book"></i> rclone check</a></li>
- <li><a href="/commands/rclone_ls/"><i class="fa fa-book"></i> rclone ls</a></li>
- <li><a href="/commands/rclone_lsd/"><i class="fa fa-book"></i> rclone lsd</a></li>
- <li><a href="/commands/rclone_delete/"><i class="fa fa-book"></i> rclone delete</a></li>
- <li><a href="/commands/rclone_size/"><i class="fa fa-book"></i> rclone size</a></li>
- <li><a href="/commands/rclone_mount/"><i class="fa fa-book"></i> rclone mount</a></li>
- <li><a href="/commands/rclone_ncdu/"><i class="fa fa-book"></i> rclone ncdu</a></li>
- <li><a href="/commands/rclone_cat/"><i class="fa fa-book"></i> rclone cat</a></li>
- <li><a href="/commands/rclone_rcat/"><i class="fa fa-book"></i> rclone rcat</a></li>
- <li><a href="/commands/"><i class="fa fa-book"></i> ...and the rest</a></li>
- </ul>
- </li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b class="caret"></b> Storage Systems</a>
- <ul class="dropdown-menu pre-scrollable">
- <li><a href="/overview/"><i class="fa fa-archive"></i> Overview</a></li>
- <li><a href="/amazonclouddrive/"><i class="fa fa-amazon"></i> Amazon Drive</a></li>
- <li><a href="/s3/"><i class="fa fa-amazon"></i> Amazon S3</a></li>
- <li><a href="/b2/"><i class="fa fa-fire"></i> Backblaze B2</a></li>
- <li><a href="/box/"><i class="fa fa-archive"></i> Box</a></li>
- <li><a href="/cache/"><i class="fa fa-archive"></i> Cache</a></li>
- <li><a href="/crypt/"><i class="fa fa-lock"></i> Crypt (encrypts the others)</a></li>
- <li><a href="/dropbox/"><i class="fa fa-dropbox"></i> Dropbox</a></li>
- <li><a href="/ftp/"><i class="fa fa-file"></i> FTP</a></li>
- <li><a href="/googlecloudstorage/"><i class="fa fa-google"></i> Google Cloud Storage</a></li>
- <li><a href="/drive/"><i class="fa fa-google"></i> Google Drive</a></li>
- <li><a href="/http/"><i class="fa fa-globe"></i> HTTP</a></li>
- <li><a href="/hubic/"><i class="fa fa-space-shuttle"></i> Hubic</a></li>
- <li><a href="/jottacloud/"><i class="fa fa-cloud"></i> Jottacloud</a></li>
- <li><a href="/mega/"><i class="fa fa-archive"></i> Mega</a></li>
- <li><a href="/azureblob/"><i class="fa fa-windows"></i> Microsoft Azure Blob Storage</a></li>
- <li><a href="/onedrive/"><i class="fa fa-windows"></i> Microsoft OneDrive</a></li>
- <li><a href="/opendrive/"><i class="fa fa-space-shuttle"></i> OpenDrive</a></li>
- <li><a href="/qingstor/"><i class="fa fa-hdd-o"></i> QingStor</a></li>
- <li><a href="/swift/"><i class="fa fa-space-shuttle"></i> Openstack Swift</a></li>
- <li><a href="/pcloud/"><i class="fa fa-cloud"></i> pCloud</a></li>
- <li><a href="/sftp/"><i class="fa fa-server"></i> SFTP</a></li>
- <li><a href="/union/"><i class="fa fa-link"></i> Union (merge backends)</a></li>
- <li><a href="/webdav/"><i class="fa fa-server"></i> WebDAV</a></li>
- <li><a href="/yandex/"><i class="fa fa-space-shuttle"></i> Yandex Disk</a></li>
- <li><a href="/local/"><i class="fa fa-file"></i> The local filesystem</a></li>
- </ul>
- </li>
- <li><a href="/contact/"><i class="fa fa-envelope"></i> Contact</a></li>
- </ul>
- </div>
- </div>
- </nav>
- <div class="container">
- <div class="row">
- <div class="col-md-10">
-
- <h2 id="i-class-fa-fa-cloud-i-pcloud"><i class="fa fa-cloud"></i> pCloud</h2>
- <p>Paths are specified as <code>remote:path</code></p>
- <p>Paths may be as deep as required, eg <code>remote:directory/subdirectory</code>.</p>
- <p>The initial setup for pCloud involves getting a token from pCloud which you
- need to do in your browser. <code>rclone config</code> walks you through it.</p>
- <p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
- <pre><code> rclone config
- </code></pre>
- <p>This will guide you through an interactive setup process:</p>
- <pre><code>No remotes found - make a new one
- n) New remote
- s) Set configuration password
- q) Quit config
- n/s/q> n
- name> remote
- 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 / Box
- \ "box"
- 5 / Dropbox
- \ "dropbox"
- 6 / Encrypt/Decrypt a remote
- \ "crypt"
- 7 / FTP Connection
- \ "ftp"
- 8 / Google Cloud Storage (this is not Google Drive)
- \ "google cloud storage"
- 9 / Google Drive
- \ "drive"
- 10 / Hubic
- \ "hubic"
- 11 / Local Disk
- \ "local"
- 12 / Microsoft Azure Blob Storage
- \ "azureblob"
- 13 / Microsoft OneDrive
- \ "onedrive"
- 14 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
- \ "swift"
- 15 / Pcloud
- \ "pcloud"
- 16 / QingCloud Object Storage
- \ "qingstor"
- 17 / SSH/SFTP Connection
- \ "sftp"
- 18 / Yandex Disk
- \ "yandex"
- 19 / http Connection
- \ "http"
- Storage> pcloud
- Pcloud App Client Id - leave blank normally.
- client_id>
- Pcloud App Client Secret - leave blank normally.
- client_secret>
- Remote config
- Use auto config?
- * Say Y if not sure
- * Say N if you are working on a remote or headless machine
- y) Yes
- n) No
- y/n> y
- If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth
- Log in and authorize rclone for access
- Waiting for code...
- Got code
- --------------------
- [remote]
- client_id =
- client_secret =
- token = {"access_token":"XXX","token_type":"bearer","expiry":"0001-01-01T00:00:00Z"}
- --------------------
- y) Yes this is OK
- e) Edit this remote
- d) Delete this remote
- y/e/d> y
- </code></pre>
- <p>See the <a href="/remote_setup/">remote setup docs</a> for how to set it up on a
- machine with no Internet browser available.</p>
- <p>Note that rclone runs a webserver on your local machine to collect the
- token as returned from pCloud. This only runs from the moment it opens
- your browser to the moment you get back the verification code. This
- is on <code>http://127.0.0.1:53682/</code> and this it may require you to unblock
- it temporarily if you are running a host firewall.</p>
- <p>Once configured you can then use <code>rclone</code> like this,</p>
- <p>List directories in top level of your pCloud</p>
- <pre><code>rclone lsd remote:
- </code></pre>
- <p>List all the files in your pCloud</p>
- <pre><code>rclone ls remote:
- </code></pre>
- <p>To copy a local directory to an pCloud directory called backup</p>
- <pre><code>rclone copy /home/source remote:backup
- </code></pre>
- <h3 id="modified-time-and-hashes">Modified time and hashes</h3>
- <p>pCloud allows modification times to be set on objects accurate to 1
- second. These will be used to detect whether objects need syncing or
- not. In order to set a Modification time pCloud requires the object
- be re-uploaded.</p>
- <p>pCloud supports MD5 and SHA1 type hashes, so you can use the
- <code>--checksum</code> flag.</p>
- <h3 id="deleting-files">Deleting files</h3>
- <p>Deleted files will be moved to the trash. Your subscription level
- will determine how long items stay in the trash. <code>rclone cleanup</code> can
- be used to empty the trash.</p>
- <!--- autogenerated options start - DO NOT EDIT, instead edit fs.RegInfo in backend/pcloud/pcloud.go then run make backenddocs -->
- <h3 id="standard-options">Standard Options</h3>
- <p>Here are the standard options specific to pcloud (Pcloud).</p>
- <h4 id="pcloud-client-id">--pcloud-client-id</h4>
- <p>Pcloud App Client Id
- Leave blank normally.</p>
- <ul>
- <li>Config: client_id</li>
- <li>Env Var: RCLONE_PCLOUD_CLIENT_ID</li>
- <li>Type: string</li>
- <li>Default: “”</li>
- </ul>
- <h4 id="pcloud-client-secret">--pcloud-client-secret</h4>
- <p>Pcloud App Client Secret
- Leave blank normally.</p>
- <ul>
- <li>Config: client_secret</li>
- <li>Env Var: RCLONE_PCLOUD_CLIENT_SECRET</li>
- <li>Type: string</li>
- <li>Default: “”</li>
- </ul>
- <!--- autogenerated options stop -->
- </div>
-
- <div class="col-md-2">
- <div class="panel panel-default">
- <div class="panel-heading" style="padding: 2px 10px;">
- <h4>Share and Enjoy.</h4>
- </div>
- <div class="panel-body">
- <a href="//twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="njcw">Tweet</a>
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
- <br><g:plusone size="medium"></g:plusone>
- <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
- <br><iframe src="//ghbtns.com/github-btn.html?user=ncw&repo=rclone&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="110px" height="20"></iframe>
- <br><iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Frclone.org%2F&width=110&layout=button_count&action=like&show_faces=true&share=true&height=21&appId=232073720158744" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:21px;" allowTransparency="true"></iframe>
- </div>
- </div>
- <div class="panel panel-default">
- <div class="panel-heading" style="padding: 2px 15px;">
- <h4>Links.</h4>
- </div>
- <div class="panel-body">
- <p>
- <i class="fa fa-comments" aria-hidden="true"></i> <a href="https://forum.rclone.org">Rclone forum.</a><br />
- <i class="fa fa-github" aria-hidden="true"></i> <a href="https://github.com/ncw/rclone">Github project.</a><br />
- <i class="fa fa-google-plus" aria-hidden="true"></i> <a href="https://google.com/+RcloneOrg" rel="publisher">Google+ page.</a><br />
- <i class="fa fa-slack" aria-hidden="true"></i> <a href="https://slack-invite.rclone.org/">Rclone slack chat.</a><br />
- <i class="fa fa-book" aria-hidden="true"></i> <a href="https://github.com/ncw/rclone/wiki">Rclone Wiki.</a><br />
- <i class="fa fa-heart" aria-hidden="true"></i> <a href="/donate/">Donate.</a><br />
- <i class="fa fa-twitter" aria-hidden="true"></i> <a href="https://twitter.com/njcw">@njcw</a>
- </p>
- </div>
- </div>
- </div>
- </div>
- <footer>
- <div class="row">
- <hr>
- <div class="col-sm-12">
- <p>© <a href="https://www.craig-wood.com/nick/">Nick Craig-Wood</a> 2014-2017<br>
- Website hosted on a <a href="https://www.memset.com/dedicated-servers/vps/"><span style="font-weight: bold; font-family: arial black, arial, sans-serif; font-style: italic;">MEMSET CLOUD VPS</span></a>,
- uploaded with <a href="https://rclone.org">rclone</a>
- and built with <a href="https://github.com/spf13/hugo">Hugo</a></p>
- </div>
- </div>
- </footer>
- </div>
- <script src="/js/jquery.js"></script>
- <script src="/js/bootstrap.js"></script>
- <script src="/js/custom.js"></script>
- </body>
- </html>
|