Skip to content
Snippets Groups Projects
Commit e8df30d2 authored by Milan's avatar Milan
Browse files

Fix rclone guide

parent 0beee716
No related branches found
No related tags found
No related merge requests found
......@@ -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;">
![alt text](rclone-screenshots/rclone-path-win1.png)
</div>
![](rclone-screenshots/rclone-path-win1.png){ 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;">
![alt text](rclone-screenshots/rclone-path-win2.png)
</div>
![](rclone-screenshots/rclone-path-win2.png){ 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;">
![alt text](rclone-screenshots/rclone-path-win3.png)
</div>
![](rclone-screenshots/rclone-path-win3.png){ 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;">
![alt text](rclone-screenshots/rclone-path-win4.png)
</div>
![](rclone-screenshots/rclone-path-win4.png){ 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```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment