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 xnatutilsAuthenticating using .netrc
Section titled “Authenticating using .netrc”- Create an alias token. Or use an existing alias token
- Create a
.netrcfile in your home directory with the following details
machine https://xnat.rcc.uq.edu.auuser <your-alias-token>password <your-alias-secret>