Run xnat_sync with no options for usage.
init" will make the connection between an XNAT resource and the
directory xnat_sync is run from. Use "init -c" to create the
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
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.
the environment variables XNAT_USER and XNAT_PASSWORD for
use. If these are undefined, the connection will be
xnat_sync is run with -s, xnat_sync will execute in "dry run" mode:
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:
- unset XNAT_USER
Please send comments to email@example.com.
- export XNAT_USER=yourlogin
init -c http://your.server/xnat
...modify, edit, delete...
Dry run is now -d.
' ' status is now '-'.
Added lag time before checking last-modified for uploads.
Can now list project/subject/experiment resources.
init command can take a resource ID (doesn't require a URI).
Supporting unauthenticated connections.
No more sync panics (all can be forced).
Creating directories if needed for pulls.
Supporting command-line user name/password and prompts for user