No, you cannot do that.
Do note that the latest published version of UNiTE does support XML, JSON, and YAML files. Automation tools such as Ansible can work with these file formats.
At the very least, since you are in the command line, you can use text replacements with sed. For example, instead of the JPA filename put in your file the string ##JPA_FILENAME##
. You can now set up a Bash script like so
#!/usr/bin/env bash
sed "s/##JPA_FILENAME##/$1/g" /path/to/master.xml `pwd`/temp.xml
php /path/to/unit.phar `pwd`/temp/xml
rm `pwd`/temp/xml
Change the permissions of that shell script to 0700 and you could call it like
$ /path/to/script.sh /some/path/to/backup.jpa
I hope this helps!
PS: The script is off the top of my head and the paths need changing, obviously. Test locally before you deploy.
Nicholas K. Dionysopoulos
Lead Developer and Director
π¬π·Greek: native π¬π§English: excellent π«π·French: basic β’ π My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!