JDFTx  1.1.1
createXSF

    Create an XcrySDen Structure File from a JDFTx output file. Usage:

            createXSF <jdftxOutFile> <xsfFile> [Animated | <var1> <var2> ...]

    The simplest usage saves the final structure from the JDFTx output
    <jdftxOutFile> to <xsfFile>. Specifying "Animated" will include
    ionic positions, forces and lattice vectors for all configurations
    in the run (if geometry or lattice optimization was performed).

    Additionally, scalar fields such as the electron density may
    also be saved, where var should name the file suffix used by JDFTx
    for that type eg. n for density, nUp for up-spin density, d_tot
    for total electrostatic potential etc. The full filenames may
    also be specified; this is a must when dump-name includes $STAMP.
    Note that XSF is an ascii format (unlike the default binary dump)
    and adding many scalar field variables to it could make it enormous.
    Scalar fields are only supported in non-animated XSF files.

    Note: this tool requires awk and octave to be available in path.