I am in the process of writing an XOS script to backup switches on a UPM event and also ad-hoc by executing the xsf file stored on the switches.
The below code is what I have issues with so far.
# Get config selected filename
set var cli.out 0
show ...