Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once you get these two ID, you can upload your data. To do so, all that is required is a directory to upload, a project id, and a datatype id ID (but other options exist):

Code Block
$ singularity run docker://brainlife/cli data upload --directory <path> --project <projectid> --datatype <datatypeid>

You can upload data by specifying a single directory containing all of the files for its associated datatype. However, you can also specify the path for each individual file ID.

Info

It can be heavy to always write singularity run docker://brainlife/cli when using BL CLI, so you can add this command to your ~/.bashrc:

Code Block
function bl {
    singularity run docker://brainlife/cli 
}

...