Upload files to the Blackfynn platform

Usage

blackfynn_agent upload [FLAGS] [OPTIONS] <paths>...

Options

    --dataset <dataset>    The ID or name of the dataset to upload to.
                           Example: --dataset=N:dataset:1234abcd-1234-abcd-efef-a0b1c2d3e4f5 or
                                    --dataset="My dataset" [default: ]
    --exclude <glob>       Files to exclude from <path> when uploading.
                           Example: --exclude="*.DS_Store"
                           This argument is not supported if multiple files are specified instead of a single
                           directory
    --folder <folder>      The ID or name of the folder to upload to. If it doesn't exist, it will be created
                           Example: --folder=N:collection:1234abcd-1234-abcd-efef-a0b1c2d3e4f5 or
                                    --folder="My Samples"
    --include <glob>       Files to include from <path> when uploading.
                           Example: --include="*.dcm"
                           This argument is not supported if multiple files are specified instead of a single
                           directory
-O, --output <output>      Sets the output format [default: rich]  [possible values: simple, rich]

Flags

-f, --force        Bypass the file selection confirmation prompt
-h, --help         Prints help information
    --legacy       Use the legacy S3 uploader instead of the Upload Service for this upload
-r, --recursive    Recursively upload all folders in a directory.
                   This argument will be ignored if multiple files are specified instead of a single directory
-V, --version      Prints version information

Args

<paths>...    Paths of the files to upload.
              If a single path is provided, it can be a directory from which to upload files