Projects
View on GitHub
jhpoelen/zenodo-upload
About
upload big files to Zenodo using cURL, jq and bash
Other ProjectsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalzenodo-upload
upload big files to Zenodo.org using cURL, jq and bash
Uploading big files to https://zenodo.org from the commandline using the Zenodo API is not straight forward. zenodo_upload.sh tries to make this a little easier.
Inspired by Max Ogden's gist at https://gist.github.com/maxogden/b758cf0fe6d353846ef9ce7d03fdca0c .
prerequisites
- jq
- curl
- bash
usage
- open a terminal
- clone this repository
- set environment variable
ZENODO_TOKENto Zenodo access token (see https://zenodo.org/account/settings/applications/tokens/new/)
export ZENODO_TOKEN=[Zenodo access token]
- create a new publication in Zenodo using the web ui, enter some information (e.g., title) and click
save - in the browser, copy the deposition id (e.g., in
https://zenodo.org/deposit/12345, 12345 is the deposition id) - in terminal and upload a file using
./zenodo_upload.sh [deposition id] [filename] [--verbose/-v, optional]
- on completion, you should see something like:
+ curl ...
######################################################################## 100.0%
- in the web ui, refresh the deposition page and observe that the file was uploaded.
Explore related projects
Loading…