Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

For users that have large numbers of datasets to add to Medici we have provided a script to ease uploading these datasets to the Medici repository. The script takes two arguments the directory containing the datasets to be uploaded and the url of the medici repository to which you wish to upload the datasets to. The url must be of the form http://<username>:<password>@host. Use https if the Medici repository is configured for https. In addition the host must contain the path to the context of the webapp. For example if your Medici repository is set at a context /medici then the host must be host/medici.

 

Download the script here.

 

Code Block
languagebash
titleUpload Script with Relative Directory and Root Context Webapp
./uploadDirectory.sh Pictures http://example%40example.com:password@localhost
Code Block
languagebash
titleUpload Script with Absolute Path and Non-Root Context Webapp
./uploadDirectory.sh /home/user/Pictures http://example%40example.com:password@localhost/medici