The CLI is a good option for importing large amounts of data. It can handle directories of well-structured data as well as unstructured directories of DICOM data.
There is a CLI getting started guide that will show you how to install and log into your Flywheel account through the CLI.
There are two commands,
fw upload and
fw import, that both get data into Flywheel. The
fw upload command is used for single files. These files could be attachments at the project, subject, session, or acquisition containers. Examples could be experimental protocols or other related documents.
fw import command is used to import directories of files. How the directories are structured will determine which subcommands of
fw import are used. Below are the descriptions of the CLI import commands with links to examples on how to use each of them.
This will recursively search through directories of DICOM files and use the DICOM header information to group them into the correct acquisitions and sessions in Flywheel. You will need to provide the group and project information.
This will import a folder structure that is already in the BIDS format. Learn more about BIDS and Flywheel's support for this format.
This command assumes the directory structure provided is already in Flywheel's hierarchy of Group/Project/Subject/Session/Acquisition/
This command is similar to the import folder command, but it allows the user to define the metadata based on the folder structure names if they aren't already in Flywheel's hierarchy.