Tools & Resources
Browse By Attribute
Browse By Top Downloads
Browse By Most Active
Download Code Snippets
Register New Tool or Resource
Suggest a Tool or Resource
Suggest a Data Set
Recently Active Forums
View NITRC Bug/Feature/Support Requests
Submit NITRC Bug
Submit NITRC Feature Request
Submit NITRC Support Request
Our Web Trends
Search within this tool/resource
This tool/resource's releases
This tool/resource's news
Related Web Pages
bleeding edge pyxnat
Run xnat_sync with no options for usage.
"xnat_sync init" will make the connection between an XNAT resource and the local directory xnat_sync is run from. Use "init -c" to create the resource on XNAT if it does not exist.
"xnat_sync pull" will pull new or changed files from XNAT to the local directory. Use "pull -f" to force a pull in the case of a conflict.
"xnat_sync push" will push new or changed files to XNAT. Use "push -f" to force a push in the case of a conflict.
"xnat_sync status" will give the synchronization status.
Define the environment variables XNAT_USER and XNAT_PASSWORD for authenticated use. If these are undefined, the connection will be unauthenticated.
If xnat_sync is run with -s, xnat_sync will execute in "dry run" mode: the actions that would be taken are reported, but no changes are made.
All commands must be run in the top-level directory of the local copy of the resource.
xnat_sync uses file modification times to keep track of what has been synchronized and what has changed.
Copy remote scans to a local directory:
Synchronize a directory with a resource of your own:
xnat_sync init -c
...modify, edit, delete...
Please send comments to
Funded by the
Neuroimaging Informatics Tools and Resources Clearinghouse (NITRC)