Changes for page Přenos souborů pomocí RCLONE
Last modified by Jan LOŠŤÁK on 2023/03/23 14:00
From 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
To version 11.1
edited by Jan LOŠŤÁK
on 2023/03/22 14:34
on 2023/03/22 14:34
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 - Using rclonetocopyfiles inownCloud1 +Přenos souborů pomocí RCLONE - Content
-
... ... @@ -1,40 +1,80 @@ 1 - {{contentsyntax="markdown/1.2"}}2 - #UsingrclonetocopyfilesinownCloud1 +(% style="" %) 2 +Tento návod demonstruje připojení do cloudového uložiště pomocí programu RCLONE. 3 3 4 -In this example you will find how to copy large files or folders to or from your owncloud account. 4 +(% style="" %) 5 +Připojení do cloudového uložiště pomocí **RCLONE **je možné na **MAC, Linux a Windows**. 5 5 6 -## Install rclone 7 -```sh 8 -yum install -y rclone 9 -``` 7 +== {{id name="PřenossouborůpomocíRCLONE-InstalaceRCLONE"/}}Instalace RCLONE == 10 10 11 -## Create ownCloud config 12 -First we need open configuration wizard: 9 +==== {{id name="PřenossouborůpomocíRCLONE-LinuxCentOS/RHEL"/}}Linux CentOS/RHEL ==== 13 13 14 -```sh 11 +(% class="code" %) 12 +((( 13 +(% class="language-sh" %){{code language="none"}}yum install -y rclone 14 +{{/code}} 15 +))) 16 + 17 +==== {{id name="PřenossouborůpomocíRCLONE-LinuxUbuntu/Debian"/}}Linux Ubuntu/Debian ==== 18 + 19 +(% class="code" %) 20 +((( 21 +\\ 22 +))) 23 + 24 +(% class="language-sh" %){{code language="none"}}apt install -y rclone{{/code}} 25 + 26 +\\ 27 + 28 +==== {{id name="PřenossouborůpomocíRCLONE-Windows"/}}Windows ==== 29 + 30 +\\ 31 + 32 +\\ 33 + 34 +[[https:~~/~~/rclone.org/install/#windows>>url:https://rclone.org/install/#windows||shape="rect"]] 35 + 36 +\\ 37 + 38 +(% class="code" %) 39 +((( 40 +\\ 41 +))) 42 + 43 +== {{id name="PřenossouborůpomocíRCLONE-Nastavenípřipojenídocloudovéhouložiště"/}}Nastavení připojení do cloudového uložiště == 44 + 45 +(% class="tw-data-text tw-text-large tw-ta" %) 46 +=== {{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:(%%) === 47 + 48 +(% class="code" %) 49 +((( 15 15 rclone config 16 - ```51 +))) 17 17 18 - Theninconfigurationwizard createnewremoteendpoint:53 +=== {{id name="PřenossouborůpomocíRCLONE-Potévprůvodcikonfiguracívytvořtenovývzdálenýkoncovýbod:"/}}(% style="color: rgb(32,33,36);" %)Poté v průvodci konfigurací vytvořte nový vzdálený koncový bod(%%)**:** === 19 19 20 -```sh 21 -No remotes found - make a new one 55 +(% class="code" %) 56 +((( 57 +(% class="language-sh" %){{code language="none"}}No remotes found - make a new one 22 22 n) New remote 23 23 s) Set configuration password 24 24 q) Quit config 25 25 n/s/q> n 26 -``` 62 +{{/code}} 63 +))) 27 27 28 - Enterhemefyour endpoint:65 +=== {{id name="PřenossouborůpomocíRCLONE-Zadejtenázevvašehokoncovéhobodu:"/}}(% style="color: rgb(32,33,36);" %)**Zadejte název vašeho koncového bodu**(%%)**:** === 29 29 30 -```sh 31 -name> myowncloud 32 -``` 67 +(% class="code" %) 68 +((( 69 +(% class="language-sh" %){{code language="none"}}name> myowncloud 70 +{{/code}} 71 +))) 33 33 34 34 Choose type of storage: 35 35 36 -```sh 37 -Type of storage to configure. 75 +(% class="code" %) 76 +((( 77 +(% class="language-sh" %){{code language="none"}}Type of storage to configure. 38 38 Choose a number from below, or type in your own value 39 39 .. 40 40 37 / Webdav ... ... @@ -41,12 +41,15 @@ 41 41 \ "webdav" 42 42 .. 43 43 Storage> webdav 44 -``` 84 +{{/code}} 85 +))) 45 45 46 -Enter the URL of ownCloud server: 87 +(% class="tw-data-text tw-text-large tw-ta" %) 88 +=== {{id name="PřenossouborůpomocíRCLONE-ZadejteadresuURLserverucloudovéhouložiště:"/}}(% class="Y2IQFc" lang="cs" %)Zadejte adresu URL serveru cloudového uložiště:(%%) === 47 47 48 -```sh 49 -** See help for webdav backend at: https://rclone.org/webdav/ ** 90 +(% class="code" %) 91 +((( 92 +(% class="language-sh" %){{code language="none"}}** See help for webdav backend at: https://rclone.org/webdav/ ** 50 50 51 51 URL of http host to connect to 52 52 Enter a string value. Press Enter for the default (""). ... ... @@ -53,13 +53,15 @@ 53 53 Choose a number from below, or type in your own value 54 54 1 / Connect to example.com 55 55 \ "https://example.com" 56 -url> https://privatecloud.imtm.cz/remote.php/dav/ 57 -``` 99 +url> https://privatecloud.imtm.cz/remote.php/dav/files/<YOUR_USERNAME>/ 100 +{{/code}} 101 +))) 58 58 59 - Enterservice type:103 +=== {{id name="PřenossouborůpomocíRCLONE-Zadejtetypslužbywebdav:"/}}**Zadejte typ služby webdav:** === 60 60 61 -```sh 62 -Name of the Webdav site/service/software you are using 105 +(% class="code" %) 106 +((( 107 +(% class="language-sh" %){{code language="none"}}Name of the Webdav site/service/software you are using 63 63 Enter a string value. Press Enter for the default (""). 64 64 Choose a number from below, or type in your own value 65 65 1 / Nextcloud ... ... @@ -73,20 +73,24 @@ 73 73 5 / Other site/service or software 74 74 \ "other" 75 75 vendor> owncloud 76 -``` 121 +{{/code}} 122 +))) 77 77 78 - Enter yourusername:124 +=== {{id name="PřenossouborůpomocíRCLONE-Vložtesvojepřihlašovacíjméno:"/}}(% style="color: rgb(32,33,36);" %)**Vložte svoje přihlašovací jméno**(%%)**:** === 79 79 80 -```sh 81 -User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'. 126 +(% class="code" %) 127 +((( 128 +(% class="language-sh" %){{code language="none"}}User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'. 82 82 Enter a string value. Press Enter for the default (""). 83 83 user> <YOUR_USERNAME> 84 -``` 131 +{{/code}} 132 +))) 85 85 86 - Enter yourword:134 +=== {{id name="PřenossouborůpomocíRCLONE-Zadejtevašeheslo:"/}}(% style="color: rgb(32,33,36);" %)**Zadejte vaše heslo**(%%)**:** === 87 87 88 -```sh 89 -Password. 136 +(% class="code" %) 137 +((( 138 +(% class="language-sh" %){{code language="none"}}Password. 90 90 y) Yes type in my own password 91 91 g) Generate random password 92 92 n) No leave this optional password blank (default) ... ... @@ -102,12 +102,14 @@ 102 102 y) Yes 103 103 n) No (default) 104 104 y/n> n 105 -``` 154 +{{/code}} 155 +))) 106 106 107 -Confir mconfigsummary:157 +=== {{id name="PřenossouborůpomocíRCLONE-Potvrďteshrnutíkonfigurace:"/}}(% style="color: rgb(32,33,36);" %)**Potvrďte shrnutí konfigurace**(%%)**:** === 108 108 109 -```sh 110 -Remote config 159 +(% class="code" %) 160 +((( 161 +(% class="language-sh" %){{code language="none"}}Remote config 111 111 -------------------- 112 112 [myowncloud] 113 113 type = webdav ... ... @@ -120,12 +120,14 @@ 120 120 e) Edit this remote 121 121 d) Delete this remote 122 122 y/e/d> y 123 -``` 174 +{{/code}} 175 +))) 124 124 125 - Ifeverything isd yourmneushouldlooklikethis:177 +=== {{id name="PřenossouborůpomocíRCLONE-Pokudjevšenakonfigurováno,vašekonfiguracerclonebymělavypadattakto:"/}}(% style="color: rgb(32,33,36);" %)**Pokud je vše nakonfigurováno, vaše konfigurace rclone by měla vypadat takto**(%%)**:** === 126 126 127 -```sh 128 -Current remotes: 179 +(% class="code" %) 180 +((( 181 +(% class="language-sh" %){{code language="none"}}Current remotes: 129 129 130 130 Name Type 131 131 ==== ==== ... ... @@ -139,27 +139,56 @@ 139 139 s) Set configuration password 140 140 q) Quit config 141 141 e/n/d/r/c/s/q> q 142 -``` 195 +{{/code}} 196 +))) 143 143 144 - #Copying files198 +== {{id name="PřenossouborůpomocíRCLONE-Přenossouborůasložek"/}}Přenos souborů a složek == 145 145 146 -## Copy directory to ownCloud 147 -```sh 148 -rclone copy --progress /backup myowncloud:/backup 149 -``` 200 +=== {{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ě === 150 150 151 -## Copy file to ownCloud 152 -```sh 153 -rclone copy --progress /myfile.tar myowncloud:/backup 154 -``` 202 +(% class="code" %) 203 +((( 204 +(% class="language-sh" %){{code language="none"}}rclone copy --progress /backup myowncloud:/backup 205 +{{/code}} 206 +))) 155 155 156 -## Copy directory from ownCloud 157 -```sh 158 -rclone copy --progress myowncloud:/backup /backup 159 -``` 208 +=== {{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ě === 160 160 161 -## Copy file from ownCloud 162 -```sh 163 -rclone copy --progress myowncloud:/backup/myfile.tar /myfile.tar 164 -``` 165 -{{/content}} 210 +(% class="code" %) 211 +((( 212 +\\ 213 +))) 214 + 215 +(% class="code" %) 216 +((( 217 +(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup /backup{{/code}} 218 +))) 219 + 220 +(% class="code" %) 221 +((( 222 +\\ 223 +))) 224 + 225 +=== {{id name="PřenossouborůpomocíRCLONE-Kopírovánísouborůdocloudovéhouložiště"/}}Kopírování souborů do cloudového uložiště === 226 + 227 +(% class="code" %) 228 +((( 229 +(% class="language-sh" %){{code language="none"}}rclone copy --progress /myfile.tar myowncloud:/backup 230 +{{/code}} 231 +))) 232 + 233 +=== {{id name="PřenossouborůpomocíRCLONE-Kopírovánísouborůzcloudovéhouložiště"/}}Kopírování souborů z cloudového uložiště === 234 + 235 +(% class="code" %) 236 +((( 237 +(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup /backup 238 +{{/code}} 239 +))) 240 + 241 +== {{id name="PřenossouborůpomocíRCLONE-CopyfilefromownCloud"/}}Copy file from ownCloud == 242 + 243 +(% class="code" %) 244 +((( 245 +(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup/myfile.tar /myfile.tar 246 +{{/code}} 247 +)))
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 - 740558621 +95617252 - Title
-
... ... @@ -1,1 +1,1 @@ 1 - Using rclonetocopyfiles inownCloud1 +Přenos souborů pomocí RCLONE