# Oscar SBATCH Scripts

✋ We highly recommend using the new [Oscar utility script](https://docs.ccv.brown.edu/bnc-user-manual/xnat-to-bids-intro/using-oscar/oscar-utility-script) to export your data from XNAT and convert it to BIDS format. This script will create and submit sbatch scripts for you, making it easy to run many participants in parallel.

## Batch Script (Advanced Users)

We keep legacy sample scripts and instructions in this repository <https://github.com/brown-bnc/xnat-tools-examples>.

⚠️ Do not store your password directly in scripts. You could use temporary files or environment variables. However, if you prefer typing it interactively, then using an Interactive session is the only way.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ccv.brown.edu/bnc-user-manual/xnat-to-bids-legacy/oscar-sbatch-scripts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
