Skip to content

Command line tools

Several command line tools can connect to XNAT externally using an alias token.

https://github.com/Australian-Imaging-Service/xnatutils

Install xnatutils using

pip3 install xnatutils
  1. Create an alias token. Or use an existing alias token
  2. Create a .netrc file in your home directory with the following details
machine https://xnat.rcc.uq.edu.au
user <your-alias-token>
password <your-alias-secret>