diff --git a/object-storage/rclone.md b/object-storage/rclone.md index 26fbf9e0358f90f2d1637533a02b9c07764f1411..d94aeced4efed268e6f6d1d2feff620879db4dca 100644 --- a/object-storage/rclone.md +++ b/object-storage/rclone.md @@ -11,7 +11,7 @@ Firstly you need to download and unzip the desired [rclone](https://rclone.org/d !!! warning **We strongly recommend** to use up-to-date versions of rclone tool available at [rclone websites](https://rclone.org/downloads/). Using rclone version from system repositories can cause some errors due to the outdated rclone version. In case of a manual installation into the user profile, see below, you can use for an update following command: -**```rclone selfupdate```** + **```rclone selfupdate```** ---- @@ -29,22 +29,23 @@ In the last step, we need to put the path to the rclone binary file into PATH en ```PATH=/home/user/bin:$PATH``` +???+ note "Persitent setup" + For **persistent presence** of the rclone binary file path in the PATH variable you can add the following line into **.bashrc file**: -> :bulb: For **persistent presence** of the rclone binary file path in the PATH variable you can add the following line into **.bashrc file**: -> -> ```echo 'PATH=/home/user/bin:$PATH' >> .bashrc``` -> -> Alternatively you can place the rclone binary file into the system path: -> -> ```/usr/local/bin``` + ```echo 'PATH=/home/user/bin:$PATH' >> .bashrc``` + + Alternatively you can place the rclone binary file into the system path: + + ```/usr/local/bin``` In the end, we can make a quick check of PATH variable, whether the desired path is present. ```echo $PATH``` -> :warning: In case you have installed the rclone using the steps above, you can then use the following command to update rclone: -> **```rclone selfupdate```**<br/> -> ```2022/08/25 11:54:07 NOTICE: Successfully updated rclone from version v1.59.0 to version v1.59.1``` +!!! warning + In case you have installed the rclone using the steps above, you can then use the following command to update rclone: + **```rclone selfupdate```**<br/> + ```2022/08/25 11:54:07 NOTICE: Successfully updated rclone from version v1.59.0 to version v1.59.1``` ---- @@ -58,33 +59,26 @@ In the displayed directory you can click right mouse button -> **New** –> **Di In the next step click to **Start (1)** and search for **Edit the system environment variables (2)**. -<div style="text-align: center;"> - -</div> +{ width="800" height="600" style="display: block; margin: 0 auto" } Then click at **Environment variables (1)** in the displayed window. -<div style="text-align: center;"> - -</div> +{ width="800" height="600" style="display: block; margin: 0 auto" } In the section User variables for **UserXY (1)** you will select the line with variable **Path (2)** and then you will click on the **Edit (3)** button. -<div style="text-align: center;"> - -</div> + +{ width="800" height="600" style="display: block; margin: 0 auto" } You can add the new path by clicking on the **New (1)** button and then you have to insert the path to the pre-prepared **“bin” folder (2)**, see below. The setup is then confirmed by clicking on the **OK (3)** button. ```%USERPROFILE%\bin``` -<div style="text-align: center;"> - -</div> - +{ width="800" height="600" style="display: block; margin: 0 auto" } In the end, you will click **OK** and **Apply**. -> :warning: In case you have installed the rclone using the steps above, you can then use the following command to update rclone: -> **```rclone selfupdate```**<br/> -> ```2022/08/25 11:54:07 NOTICE: Successfully updated rclone from version v1.59.0 to version v1.59.1``` +!!! warning + In case you have installed the rclone using the steps above, you can then use the following command to update rclone: + **```rclone selfupdate```**<br/> + ```2022/08/25 11:54:07 NOTICE: Successfully updated rclone from version v1.59.0 to version v1.59.1```