Remote data repositories

Rclone integration

Solidipes integrates Rclone possibilities to download/upload and even mount remote data repository content. To install Rclone, follow the instructions on the Rclone website.

  1. Listing protocols

    solidipes mount -h
    solidipes download -h
    solidipes upload -h
    rclone config providers
    

It shows the list of protocols inherited from rclone.

Attention

The protocols listed follow the capacities of rclone installed on your system.

The examples below are showing the syntax for a webdav server.

  1. Downloading from a remote

    solidipes download rclone-webdav --remote tmp-origin https://server/path --user username --password XXXX destination_path
    

This populates the destination_path with the remote content, ready to be curated. The remote credentials are saved in the rclone config (~/.config/rclone/rclone.conf) under the provided remote name (here tmp-origin), for later use.

  1. Upload to a remote

    solidipes upload rclone --remote tmp-origin
    

This sends back the content to the remote tmp-origin (if protocol and remote allow writing).

  1. Mounting

If one wants a subdirectory to live mirrored from a remote, a mount can be created.

cd study_dir
solidipes mount rclone-webdav https://server/path --user username --password XXXX data

will poputate the subdir data with the remote content of the webdav repository. Anytime you can unmount.

solidipes unmount

which will close the active connection to the remote. To suppress such a

The mount endpoints are kept in the config of Solidipes. You can list them with:

solidipes mount --list-existing

to remove definitely an endpoint, and forget the credentials you can do:

solidipes unmount --forget data