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 9.1
edited by Jan LOŠŤÁK
on 2023/02/13 10:26
on 2023/02/13 10:26
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 rclone to copy files in ownCloud1 +Using rclone to copy files - Content
-
... ... @@ -1,40 +4,44 @@ 1 -{{content syntax="markdown/1.2"}} 2 -# Using rclone to copy files in ownCloud 3 - 4 4 In this example you will find how to copy large files or folders to or from your owncloud account. 5 5 6 -## Install rclone 7 -```sh 8 -yum install -y rclone 9 -``` 3 +== {{id name="PřenossouborůpomocíRCLONE-Installrclone"/}}Install rclone == 10 10 11 -## Create ownCloud config 12 -First we need open configuration wizard: 5 +(% class="code" %) 6 +((( 7 +(% class="language-sh" %){{code language="none"}}yum install -y rclone 8 +{{/code}} 9 +))) 13 13 14 -```sh 11 +== {{id name="PřenossouborůpomocíRCLONE-CreateownCloudconfig"/}}Create ownCloud config == 12 + 13 +**First we need open configuration wizard:** 14 + 15 15 rclone config 16 -``` 17 17 18 -Then in configuration wizard create new remote endpoint: 17 +**Then in configuration wizard create new remote endpoint:** 19 19 20 -```sh 21 -No remotes found - make a new one 19 +(% class="code" %) 20 +((( 21 +(% 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 -``` 26 +{{/code}} 27 +))) 27 27 28 -Enter the name of your endpoint: 29 +**Enter the name of your endpoint:** 29 29 30 -```sh 31 -name> myowncloud 32 -``` 31 +(% class="code" %) 32 +((( 33 +(% class="language-sh" %){{code language="none"}}name> myowncloud 34 +{{/code}} 35 +))) 33 33 34 34 Choose type of storage: 35 35 36 -```sh 37 -Type of storage to configure. 39 +(% class="code" %) 40 +((( 41 +(% 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,14 @@ 41 41 \ "webdav" 42 42 .. 43 43 Storage> webdav 44 -``` 48 +{{/code}} 49 +))) 45 45 46 -Enter the URL of ownCloud server: 51 +**Enter the URL of ownCloud server:** 47 47 48 -```sh 49 -** See help for webdav backend at: https://rclone.org/webdav/ ** 53 +(% class="code" %) 54 +((( 55 +(% 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 -``` 62 +url> https://privatecloud.imtm.cz/remote.php/dav/files/<YOUR_USERNAME>/ 63 +{{/code}} 64 +))) 58 58 59 -Enter webdav service type: 66 +**Enter webdav service type:** 60 60 61 -```sh 62 -Name of the Webdav site/service/software you are using 68 +(% class="code" %) 69 +((( 70 +(% 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 -``` 84 +{{/code}} 85 +))) 77 77 78 -Enter your username: 87 +**Enter your username:** 79 79 80 -```sh 81 -User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'. 89 +(% class="code" %) 90 +((( 91 +(% 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 -``` 94 +{{/code}} 95 +))) 85 85 86 -Enter your password: 97 +**Enter your password:** 87 87 88 -```sh 89 -Password. 99 +(% class="code" %) 100 +((( 101 +(% 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 -``` 117 +{{/code}} 118 +))) 106 106 107 -Confirm config summary: 120 +**Confirm config summary:** 108 108 109 -```sh 110 -Remote config 122 +(% class="code" %) 123 +((( 124 +(% 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 -``` 137 +{{/code}} 138 +))) 124 124 125 -If everything is configured your rclone config mneu should look like this: 140 +**If everything is configured your rclone config mneu should look like this:** 126 126 127 -```sh 128 -Current remotes: 142 +(% class="code" %) 143 +((( 144 +(% class="language-sh" %){{code language="none"}}Current remotes: 129 129 130 130 Name Type 131 131 ==== ==== ... ... @@ -139,27 +139,39 @@ 139 139 s) Set configuration password 140 140 q) Quit config 141 141 e/n/d/r/c/s/q> q 142 -``` 158 +{{/code}} 159 +))) 143 143 144 - #Copying files161 += {{id name="PřenossouborůpomocíRCLONE-Copyingfiles"/}}Copying files = 145 145 146 -## Copy directory to ownCloud 147 -```sh 148 -rclone copy --progress /backup myowncloud:/backup 149 -``` 163 +== {{id name="PřenossouborůpomocíRCLONE-CopydirectorytoownCloud"/}}Copy directory to ownCloud == 150 150 151 -## Copy file to ownCloud 152 -```sh 153 -rclone copy --progress /myfile.tar myowncloud:/backup 154 -``` 165 +(% class="code" %) 166 +((( 167 +(% class="language-sh" %){{code language="none"}}rclone copy --progress /backup myowncloud:/backup 168 +{{/code}} 169 +))) 155 155 156 -## Copy directory from ownCloud 157 -```sh 158 -rclone copy --progress myowncloud:/backup /backup 159 -``` 171 +== {{id name="PřenossouborůpomocíRCLONE-CopyfiletoownCloud"/}}Copy file to ownCloud == 160 160 161 -## Copy file from ownCloud 162 -```sh 163 -rclone copy --progress myowncloud:/backup/myfile.tar /myfile.tar 164 -``` 165 -{{/content}} 173 +(% class="code" %) 174 +((( 175 +(% class="language-sh" %){{code language="none"}}rclone copy --progress /myfile.tar myowncloud:/backup 176 +{{/code}} 177 +))) 178 + 179 +== {{id name="PřenossouborůpomocíRCLONE-CopydirectoryfromownCloud"/}}Copy directory from ownCloud == 180 + 181 +(% class="code" %) 182 +((( 183 +(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup /backup 184 +{{/code}} 185 +))) 186 + 187 +== {{id name="PřenossouborůpomocíRCLONE-CopyfilefromownCloud"/}}Copy file from ownCloud == 188 + 189 +(% class="code" %) 190 +((( 191 +(% class="language-sh" %){{code language="none"}}rclone copy --progress myowncloud:/backup/myfile.tar /myfile.tar 192 +{{/code}} 193 +)))
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 - 740558621 +95617246 - Title
-
... ... @@ -1,1 +1,1 @@ 1 -Using rclone to copy files in ownCloud1 +Using rclone to copy files