Changes for page Přenos souborů pomocí RCLONE
Last modified by Jan LOŠŤÁK on 2023/03/23 14:00
From version 12.1
edited by Jan LOŠŤÁK
on 2023/03/22 14:36
on 2023/03/22 14:36
Change comment:
There is no comment for this version
To version 3.1
edited by Jan LOŠŤÁK
on 2022/06/01 18:18
on 2022/06/01 18:18
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - PřenossouborůpomocíRCLONE1 +Using rclone to copy files in ownCloud - Content
-
... ... @@ -1,60 +1,40 @@ 1 -Tento návod demonstruje připojení do cloudového uložiště pomocí programu RCLONE. 1 +{{content syntax="markdown/1.2"}} 2 +# Using rclone to copy files in ownCloud 2 2 3 - Připojenídocloudovéhouložištěpomocí **RCLONE**jemožnéna**MAC,Linuxa Windows**.4 +In this example you will find how to copy large files or folders to or from your owncloud account. 4 4 5 -== {{id name="PřenossouborůpomocíRCLONE-InstalaceRCLONE"/}}Instalace RCLONE == 6 +## Install rclone 7 +```sh 8 +yum install -y rclone 9 +``` 6 6 7 -==== {{id name="PřenossouborůpomocíRCLONE-LinuxCentOS/RHEL"/}}Linux CentOS/RHEL ==== 11 +## Create ownCloud config 12 +First we need open configuration wizard: 8 8 9 -(% class="code" %) 10 -((( 11 -(% class="language-sh" %){{code language="none"}}yum install -y rclone 12 -{{/code}} 13 -))) 14 - 15 -==== {{id name="PřenossouborůpomocíRCLONE-LinuxUbuntu/Debian"/}}Linux Ubuntu/Debian ==== 16 - 17 -(% class="language-sh" %){{code language="none"}}apt install -y rclone{{/code}} 18 - 19 -==== {{id name="PřenossouborůpomocíRCLONE-Windows"/}}Windows ==== 20 - 21 -[[https:~~/~~/rclone.org/install/#windows>>url:https://rclone.org/install/#windows||shape="rect"]] 22 - 23 -== {{id name="PřenossouborůpomocíRCLONE-Nastavenípřipojenídocloudovéhouložiště"/}}Nastavení připojení do cloudového uložiště == 24 - 25 -(% class="tw-data-text tw-text-large tw-ta" %) 26 -=== {{id name="PřenossouborůpomocíRCLONE-Nejprvepotřebujemeotevřítprůvodcekonfiguracípřikazem:"/}}(% class="Y2IQFc" lang="cs" %)Nejprve potřebujeme otevřít průvodce konfigurací přikazem:(%%) === 27 - 28 -(% class="code" %) 29 -((( 14 +```sh 30 30 rclone config 31 - )))16 +``` 32 32 33 - ==={{idname="PřenossouborůpomocíRCLONE-Potévprůvodcikonfiguracívytvořtenovývzdálenýkoncovýbod:"/}}(%style="color: rgb(32,33,36);" %)Potévprůvodci konfigurací vytvořtenový vzdálený koncový bod(%%)**:** ===18 +Then in configuration wizard create new remote endpoint: 34 34 35 -(% class="code" %) 36 -((( 37 -(% class="language-sh" %){{code language="none"}}No remotes found - make a new one 20 +```sh 21 +No remotes found - make a new one 38 38 n) New remote 39 39 s) Set configuration password 40 40 q) Quit config 41 41 n/s/q> n 42 -{{/code}} 43 -))) 26 +``` 44 44 45 - === {{idname="PřenossouborůpomocíRCLONE-Zadejtenázevvašehokoncovéhobodu:"/}}(%style="color:rgb(32,33,36);" %)**Zadejtenázev vašehokoncového bodu**(%%)**:** ===28 +Enter the name of your endpoint: 46 46 47 -(% class="code" %) 48 -((( 49 -(% class="language-sh" %){{code language="none"}}name> myowncloud 50 -{{/code}} 51 -))) 30 +```sh 31 +name> myowncloud 32 +``` 52 52 53 53 Choose type of storage: 54 54 55 -(% class="code" %) 56 -((( 57 -(% class="language-sh" %){{code language="none"}}Type of storage to configure. 36 +```sh 37 +Type of storage to configure. 58 58 Choose a number from below, or type in your own value 59 59 .. 60 60 37 / Webdav ... ... @@ -61,15 +61,12 @@ 61 61 \ "webdav" 62 62 .. 63 63 Storage> webdav 64 -{{/code}} 65 -))) 44 +``` 66 66 67 -(% class="tw-data-text tw-text-large tw-ta" %) 68 -=== {{id name="PřenossouborůpomocíRCLONE-ZadejteadresuURLserverucloudovéhouložiště:"/}}(% class="Y2IQFc" lang="cs" %)Zadejte adresu URL serveru cloudového uložiště:(%%) === 46 +Enter the URL of ownCloud server: 69 69 70 -(% class="code" %) 71 -((( 72 -(% class="language-sh" %){{code language="none"}}** See help for webdav backend at: https://rclone.org/webdav/ ** 48 +```sh 49 +** See help for webdav backend at: https://rclone.org/webdav/ ** 73 73 74 74 URL of http host to connect to 75 75 Enter a string value. Press Enter for the default (""). ... ... @@ -76,15 +76,13 @@ 76 76 Choose a number from below, or type in your own value 77 77 1 / Connect to example.com 78 78 \ "https://example.com" 79 -url> https://privatecloud.imtm.cz/remote.php/dav/files/<YOUR_USERNAME>/ 80 -{{/code}} 81 -))) 56 +url> https://privatecloud.imtm.cz/remote.php/dav/ 57 +``` 82 82 83 - === {{id name="PřenossouborůpomocíRCLONE-Zadejtetypslužbywebdav:"/}}**Zadejte typslužby webdav:** ===59 +Enter webdav service type: 84 84 85 -(% class="code" %) 86 -((( 87 -(% class="language-sh" %){{code language="none"}}Name of the Webdav site/service/software you are using 61 +```sh 62 +Name of the Webdav site/service/software you are using 88 88 Enter a string value. Press Enter for the default (""). 89 89 Choose a number from below, or type in your own value 90 90 1 / Nextcloud ... ... @@ -98,24 +98,20 @@ 98 98 5 / Other site/service or software 99 99 \ "other" 100 100 vendor> owncloud 101 -{{/code}} 102 -))) 76 +``` 103 103 104 - === {{id name="PřenossouborůpomocíRCLONE-Vložtesvojepřihlašovacíjméno:"/}}(%style="color:rgb(32,33,36);" %)**Vložtesvojepřihlašovací jméno**(%%)**:** ===78 +Enter your username: 105 105 106 -(% class="code" %) 107 -((( 108 -(% class="language-sh" %){{code language="none"}}User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'. 80 +```sh 81 +User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'. 109 109 Enter a string value. Press Enter for the default (""). 110 110 user> <YOUR_USERNAME> 111 -{{/code}} 112 -))) 84 +``` 113 113 114 - === {{idname="PřenossouborůpomocíRCLONE-Zadejtevašeheslo:"/}}(%style="color: rgb(32,33,36);" %)**Zadejte vaše heslo**(%%)**:** ===86 +Enter your password: 115 115 116 -(% class="code" %) 117 -((( 118 -(% class="language-sh" %){{code language="none"}}Password. 88 +```sh 89 +Password. 119 119 y) Yes type in my own password 120 120 g) Generate random password 121 121 n) No leave this optional password blank (default) ... ... @@ -131,14 +131,12 @@ 131 131 y) Yes 132 132 n) No (default) 133 133 y/n> n 134 -{{/code}} 135 -))) 105 +``` 136 136 137 - === {{id name="PřenossouborůpomocíRCLONE-Potvrďteshrnutíkonfigurace:"/}}(%style="color: rgb(32,33,36);" %)**Potvrďte shrnutí konfigurace**(%%)**:** ===107 +Confirm config summary: 138 138 139 -(% class="code" %) 140 -((( 141 -(% class="language-sh" %){{code language="none"}}Remote config 109 +```sh 110 +Remote config 142 142 -------------------- 143 143 [myowncloud] 144 144 type = webdav ... ... @@ -151,14 +151,12 @@ 151 151 e) Edit this remote 152 152 d) Delete this remote 153 153 y/e/d> y 154 -{{/code}} 155 -))) 123 +``` 156 156 157 - ==={{id name="PřenossouborůpomocíRCLONE-Pokudjevšenakonfigurováno,vašekonfiguracerclonebymělavypadattakto:"/}}(%style="color: rgb(32,33,36);" %)**Pokud je všenakonfigurováno,vašekonfiguracercloneby mělavypadattakto**(%%)**:** ===125 +If everything is configured your rclone config mneu should look like this: 158 158 159 -(% class="code" %) 160 -((( 161 -(% class="language-sh" %){{code language="none"}}Current remotes: 127 +```sh 128 +Current remotes: 162 162 163 163 Name Type 164 164 ==== ==== ... ... @@ -172,64 +172,27 @@ 172 172 s) Set configuration password 173 173 q) Quit config 174 174 e/n/d/r/c/s/q> q 175 -{{/code}} 176 -))) 142 +``` 177 177 178 - =={{id name="PřenossouborůpomocíRCLONE-Přenossouborůasložek"/}}Přenossouborů a složek ==144 +# Copying files 179 179 180 -=== {{id name="PřenossouborůpomocíRCLONE-Kopírovánísložekdocloudovéhouložiště"/}}Kopírování složek do cloudového uložiště === 146 +## Copy directory to ownCloud 147 +```sh 148 +rclone copy --progress /backup myowncloud:/backup 149 +``` 181 181 182 -(% class="code" %) 183 -((( 184 -(% class="language-sh" %){{code language="none"}}rclone copy --progress /backup myowncloud:/backup 185 -{{/code}} 186 -))) 151 +## Copy file to ownCloud 152 +```sh 153 +rclone copy --progress /myfile.tar myowncloud:/backup 154 +``` 187 187 188 -=== {{id name="PřenossouborůpomocíRCLONE-Kopírovánísložekzcloudovéhouložiště"/}}Kopírování složek z cloudového uložiště === 156 +## Copy directory from ownCloud 157 +```sh 158 +rclone copy --progress myowncloud:/backup /backup 159 +``` 189 189 190 -(% class="code" %) 191 -((( 192 -(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup /backup{{/code}} 193 -))) 194 - 195 -=== {{id name="PřenossouborůpomocíRCLONE-Kopírovánísouborůdocloudovéhouložiště"/}}Kopírování souborů do cloudového uložiště === 196 - 197 -(% class="code" %) 198 -((( 199 -(% class="language-sh" %){{code language="none"}}rclone copy --progress /myfile.tar myowncloud:/backup 200 -{{/code}} 201 -))) 202 - 203 -=== {{id name="PřenossouborůpomocíRCLONE-Kopírovánísouborůzcloudovéhouložiště"/}}Kopírování souborů z cloudového uložiště === 204 - 205 -(% class="code" %) 206 -((( 207 -(% class="language-sh" %)##rclone copy ~-~-progress [[myowncloud:/backup/myfile.tar>>url:http://myowncloud/backup/myfile.tar||shape="rect"]] /myfile.tar ## 208 -))) 209 - 210 -== {{id name="PřenossouborůpomocíRCLONE-Kontrolnísoučet"/}}Kontrolní součet == 211 - 212 -=== {{id name="PřenossouborůpomocíRCLONE-Kontrolnísoučetsouboru"/}}Kontrolní součet souboru === 213 - 214 -(% class="code" %) 215 -((( 216 -(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup/myfile.tar /myfile.tar 217 -{{/code}} 218 -))) 219 - 220 -=== {{id name="PřenossouborůpomocíRCLONE-Kontrolnísoučetsložky"/}}Kontrolní součet složky === 221 - 222 -(% class="code" %) 223 -((( 224 -\\ 225 -))) 226 - 227 -(% class="code" %) 228 -((( 229 -(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup /backup{{/code}} 230 -))) 231 - 232 -(% class="code" %) 233 -((( 234 -\\ 235 -))) 161 +## Copy file from ownCloud 162 +```sh 163 +rclone copy --progress myowncloud:/backup/myfile.tar /myfile.tar 164 +``` 165 +{{/content}}
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 - 956172561 +74055862 - Title
-
... ... @@ -1,1 +1,1 @@ 1 - PřenossouborůpomocíRCLONE1 +Using rclone to copy files in ownCloud