Command line options.
rclone
Rclone is a versatile command-line tool for managing files on cloud storage. It can be configured to work with ownCloud using WebDAV.
First, configure it:
rclone config
Follow the steps to create a new remote for box.bic and choosewebdav
as the storage type. Provide the URL (https://box.bic.mni.mcgill.ca/remote.php/webdav/
), username, and password.
After setup, you can list, copy, or sync files, among many others.sync
will also delete files that no longer exist on the source, whereascopy
doesn’t. Replaceowncloud
with the name you assigned to the “remote” during setup:
rclone copy owncloud:path/to/file /local/path
rclone sync owncloud:path/to/file /local/path
curl
orwget
This is useful for individual files when you know the direct URL to them.
curl -u username:password -O "https://owncloud.example.com/remote.php/webdav/path/to/file"
wget --user=username --password=password "https://owncloud.example.com/remote.php/webdav/path/to/file"
owncloudcmd
If the ownCloud client is installed on your machine, this command-line tool can sync or download files.
owncloudcmd --user username --password password /local/folder "https://owncloud.example.com/remote.php/webdav/path/to/folder"