# XINA Import Helper

XINA Import Helper is a utility for generating the XINA API actions as JSON files for an archive directory. The following XINA action files will be generated:
- Cancel any existing task(s) for the archive
- Delete the archive if it already exists in XINA
- Import the file archive
- Run the mining task on the archive to extract the data

The output files can then be imported into XINA using [XINA Import](https://wiki.xina.io/books/utilities/page/xina-import). This application is distributed as a Java jar file and requires Java 17 or greater to run. The recommended OpenJDK build is available [here](https://learn.microsoft.com/en-us/java/openjdk/download).

### Latest Version


#### XINA Import Helper 11.2.3

[Download](https://smce-xina.s3.amazonaws.com/dist/11.2.3/xina-struct-import-helper.jar)

Windows
```
 java -jar "path to xina-import-helper.jar" ^
      [additional arguments...]
```

MacOS, Linux
```
 java -jar "path to xina-import-helper.jar" \
      [additional arguments...]
```