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
"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
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
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:
- unset XNAT_USER
xnat_sync init https://central.xnat.org
Synchronize a directory with a resource of your own:
- export XNAT_USER=yourlogin
xnat_sync init -c http://your.server/xnat
...modify, edit, delete...
Please send comments to email@example.com.