In this example you will find how to copy large files or folders to or from your owncloud account.
Install rclone
yum install -y rclone
Create ownCloud config
First we need open configuration wizard:
...
Current remotes:
Name Type
==== ====
myowncloud webdav
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q
Copying files
Copy directory to ownCloud
rclone copy --progress /backup myowncloud:/backup
Copy file to ownCloud
rclone copy --progress /myfile.tar myowncloud:/backup
Copy directory from ownCloud
rclone copy --progress myowncloud:/backup /backup
Copy file from ownCloud
rclone copy --progress myowncloud:/backup/myfile.tar /myfile.tar