{"id":19463,"date":"2025-04-07T11:55:29","date_gmt":"2025-04-07T15:55:29","guid":{"rendered":"https:\/\/kb.n0c.com\/?post_type=ht_kb&#038;p=19463"},"modified":"2026-08-25T15:14:44","modified_gmt":"2026-08-25T19:14:44","slug":"how-to-use-rclone-to-manage-files-on-n0c-storage","status":"publish","type":"ht_kb","link":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-use-rclone-to-manage-files-on-n0c-storage\/","title":{"rendered":"How to Use RClone to Manage Files on N0C Storage"},"content":{"rendered":"\n<p>Rclone is a command-line program for managing files in the cloud. In this article, we explain how to install and use Rclone:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>to <a href=\"#how-to-copy-a-file-to-n0c-storage\">copy a file to N0C Storage<\/a>;<\/li>\n\n\n\n<li>to <a href=\"#how-to-move-a-file-to-n0c-storage\">move a file to N0C Storage<\/a>;<\/li>\n\n\n\n<li>to <a href=\"#how-to-synchronize-a-file-between-a-local-version-and-n0c-storage\">synchronize a file between a local version and N0C Storage<\/a>; and<\/li>\n\n\n\n<li>in a <a href=\"#how-to-use-rclone-in-a-cron-task\">Cron task<\/a>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">If necessary, please refer to the <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-use-n0c-storage\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to use N0C Storage<\/a> article.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">The <a href=\"https:\/\/kb.n0c.com\/en\/glossary\/\">glossary<\/a> contains explanations on a wide range of subjects and can be consulted to clarify certain terms.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p>Enter the following address in your web browser: <a href=\"https:\/\/mg.n0c.com\/en\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/mg.n0c.com\/en\/<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Install Rclone<\/h2>\n\n\n\n<p>There are three steps to install Rclone:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>install Rclone on the Web Project;<\/li>\n\n\n\n<li>configure the \u201cremote\u201d destination for Rclone; and<\/li>\n\n\n\n<li>confirm that the configuration works.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">First Step: Installing Rclone on the Web Project<\/h3>\n\n\n\n<p>Go to the download link for Linux &#8211; Intel\/AMD &#8211; 64 Bit: <a href=\"https:\/\/rclone.org\/downloads\/\">https:\/\/rclone.org\/downloads\/<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/downloads.rclone.org\/v1.69.1\/rclone-v1.69.1-linux-amd64.zip<\/code><\/pre>\n\n\n\n<p>Extract the archive:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>unzip rclone-v1.69.1-linux-amd64.zip<\/code><\/pre>\n\n\n\n<p>Create the bin directory at the root of the Web Project if it does not already exist:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir ~\/bin<\/code><\/pre>\n\n\n\n<p>Move the binary to the bin directory so that <em>rclone<\/em> is recognized as a command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mv rclone-v1.69.1-linux-amd64\/rclone ~\/bin\/<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Second Step: Configuring the \u201cremote\u201d Cestination for Rclone<\/h3>\n\n\n\n<p>Create the folder structure and the configuration file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir ~\/.config\nmkdir ~\/.config\/rclone\ntouch ~\/.config\/rclone\/rclone.conf<\/code><\/pre>\n\n\n\n<p>Open the file <code>~\/.config\/rclone\/rclone.conf<\/code> using the file manager or a text editor of your choice.<\/p>\n\n\n\n<p>Paste the following content into the <em>rclone.conf<\/em> file and save:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;n0cstorage]\ntype = s3\nprovider = Other\naccess_key_id = $Accesskey\nsecret_access_key = $SecretKey\nlocation_constraint = $Bucket\nendpoint = ht2-storage.n0c.com:5443\nacl = private\nno_check_bucket = true<\/code><\/pre>\n\n\n\n<p>In the previous command, replace <em>$Accesskey<\/em>, <em>$SecretKey<\/em>, and <em>$Bucket<\/em> with their respective values noted in <a href=\"https:\/\/mg.n0c.com\/files\/n0c-storage\">https:\/\/mg.n0c.com\/files\/n0c-storage<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Third Step: Confirmation that the Configuration is Working<\/h3>\n\n\n\n<p>Test the <em>rclone ls<\/em> command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone ls n0cstorage:<\/code><\/pre>\n\n\n\n<p>This lists the content in the destination object.<\/p>\n\n\n\n<p>If it is empty, there will be no output. Therefore, having a test file can help to confirm that the configuration is working.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Copy a File to N0C Storage<\/h2>\n\n\n\n<p>Copy a file <em>foo.txt <\/em>to the <em>private<\/em> directory of the <em>bucket<\/em> <em>\u201cfoobar\u201d<\/em>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone copy foo.txt n0cstorage:foobar\/private\/<\/code><\/pre>\n\n\n\n<p>Replace <em>foobar<\/em> with the name of the <em>bucket<\/em> in the previous command.<\/p>\n\n\n\n<p>The name of the <em>bucket<\/em> is the one listed on the page <a href=\"https:\/\/mg.n0c.com\/files\/n0c-storage\">https:\/\/mg.n0c.com\/files\/n0c-storage<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Move a File to N0C Storage<\/h2>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\"><em>move <\/em>is destructive. The command deletes the local file.<\/p>\n\n\n\n<p>Move a file <em>foo.txt<\/em> to the <em>private<\/em> directory of the <em>\u201cfoobar\u201d<\/em> bucket:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone move foo.txt n0cstorage:foobar\/private\/<\/code><\/pre>\n\n\n\n<p>Replace <em>foobar<\/em> with the name of the <em>bucket<\/em> in the previous command.<\/p>\n\n\n\n<p>The name of the <em>bucket<\/em> is the one listed on the page <a href=\"https:\/\/mg.n0c.com\/files\/n0c-storage\">https:\/\/mg.n0c.com\/files\/n0c-storage<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Synchronize a File Between a Local Version and N0C Storage<\/h2>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\"><em>sync<\/em> is destructive.<\/p>\n\n\n\n<p>Synchronize the file in the <em>private<\/em> directory in the remote <em>\u201cfoobar\u201d<\/em> bucket with the changes to the local <em>foo.txt<\/em> file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rclone sync foo.txt n0cstorage:foobar\/private\/<\/code><\/pre>\n\n\n\n<p>Only the remote file is modified.<\/p>\n\n\n\n<p>Replace <em>foobar<\/em> with the name of the <em>bucket<\/em> in the previous command.<\/p>\n\n\n\n<p>The name of the <em>bucket<\/em> is the one listed on the page <a href=\"https:\/\/mg.n0c.com\/files\/n0c-storage\">https:\/\/mg.n0c.com\/files\/n0c-storage<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Use rclone in a Cron Task<\/h2>\n\n\n\n<p>Call rclone by the absolute path.<\/p>\n\n\n\n<p>For a user \u201c<em>foobar\u201d<\/em>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/home\/foobar\/bin\/rclone<\/code><\/pre>\n\n\n\n<p><strong>Example:<\/strong><\/p>\n\n\n\n<p>Add text to a file <em>foo.txt<\/em> and synchronize the changes on the copy on N0C Storage:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>* * * * * echo \"Ajout de ce texte\" &gt;&gt; foo.txt &amp;&amp; \/home\/foobar\/bin\/rclone sync \/home\/foobar\/foo.txt n0cstorage:foobar\/private\/<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">References<\/h2>\n\n\n\n<p>Knowledge base article: <a href=\"https:\/\/kb.n0c.com\/knowledge-base\/comment-utiliser-n0c-storage\/\" target=\"_blank\" rel=\"noreferrer noopener\">Comment utiliser N0C Storage<\/a>.<\/p>\n\n\n\n<p>Documentation: <a href=\"https:\/\/rclone.org\/docs\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/rclone.org\/docs\/<\/a>.<\/p>\n\n\n\n<p>Commands: <a href=\"https:\/\/rclone.org\/commands\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/rclone.org\/commands\/<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Rclone is a command-line program for managing files in the cloud. In this article, we explain how to install and use Rclone: Prerequisites Enter the following address in your web browser: https:\/\/mg.n0c.com\/en\/. How to Install Rclone There are three steps to install Rclone: First Step: Installing Rclone on the Web&#8230;<\/p>\n","protected":false},"author":4,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[165],"ht-kb-tag":[],"class_list":["post-19463","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-files"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Use RClone to Manage Files on N0C Storage<\/title>\n<meta name=\"description\" content=\"We explain how to use Rclone with N0C Storage to copy, move and synchronize files, as well as for cron tasks.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-use-rclone-to-manage-files-on-n0c-storage\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use RClone to Manage Files on N0C Storage\" \/>\n<meta property=\"og:description\" content=\"We explain how to use Rclone with N0C Storage to copy, move and synchronize files, as well as for cron tasks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-use-rclone-to-manage-files-on-n0c-storage\/\" \/>\n<meta property=\"og:site_name\" content=\"N0C KB\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-25T19:14:44+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-use-rclone-to-manage-files-on-n0c-storage\\\/\",\"url\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-use-rclone-to-manage-files-on-n0c-storage\\\/\",\"name\":\"How to Use RClone to Manage Files on N0C Storage\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/#website\"},\"datePublished\":\"2025-04-07T15:55:29+00:00\",\"dateModified\":\"2026-08-25T19:14:44+00:00\",\"description\":\"We explain how to use Rclone with N0C Storage to copy, move and synchronize files, as well as for cron tasks.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-use-rclone-to-manage-files-on-n0c-storage\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-use-rclone-to-manage-files-on-n0c-storage\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-use-rclone-to-manage-files-on-n0c-storage\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/kb.n0c.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Use RClone to Manage Files on N0C Storage\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/#website\",\"url\":\"https:\\\/\\\/kb.n0c.com\\\/\",\"name\":\"N0C KB\",\"description\":\"Official documentation of the N0C hosting platform\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kb.n0c.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Use RClone to Manage Files on N0C Storage","description":"We explain how to use Rclone with N0C Storage to copy, move and synchronize files, as well as for cron tasks.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-use-rclone-to-manage-files-on-n0c-storage\/","og_locale":"en_US","og_type":"article","og_title":"How to Use RClone to Manage Files on N0C Storage","og_description":"We explain how to use Rclone with N0C Storage to copy, move and synchronize files, as well as for cron tasks.","og_url":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-use-rclone-to-manage-files-on-n0c-storage\/","og_site_name":"N0C KB","article_modified_time":"2026-08-25T19:14:44+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-use-rclone-to-manage-files-on-n0c-storage\/","url":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-use-rclone-to-manage-files-on-n0c-storage\/","name":"How to Use RClone to Manage Files on N0C Storage","isPartOf":{"@id":"https:\/\/kb.n0c.com\/#website"},"datePublished":"2025-04-07T15:55:29+00:00","dateModified":"2026-08-25T19:14:44+00:00","description":"We explain how to use Rclone with N0C Storage to copy, move and synchronize files, as well as for cron tasks.","breadcrumb":{"@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-use-rclone-to-manage-files-on-n0c-storage\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-use-rclone-to-manage-files-on-n0c-storage\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-use-rclone-to-manage-files-on-n0c-storage\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/kb.n0c.com\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/kb.n0c.com\/en\/knowledge-base\/"},{"@type":"ListItem","position":3,"name":"How to Use RClone to Manage Files on N0C Storage"}]},{"@type":"WebSite","@id":"https:\/\/kb.n0c.com\/#website","url":"https:\/\/kb.n0c.com\/","name":"N0C KB","description":"Official documentation of the N0C hosting platform","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.n0c.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb\/19463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/comments?post=19463"}],"version-history":[{"count":11,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb\/19463\/revisions"}],"predecessor-version":[{"id":23836,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb\/19463\/revisions\/23836"}],"wp:attachment":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/media?parent=19463"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb-category?post=19463"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=19463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}