Skip to content

json-script-takeout

json-script-takeout.sh: make a tarfile of the external files referenced by a script

usage:

  json-script-takeout.sh [-o outfile] script

where: script: JSON script e.g.: Scripts/HabEx_4m_TSDD_pop100DD_revwt.json optionally: outfile: the destination filename for the tar archive (if not supplied, a ".tgz" is added to the script basename)

We make the assumption that the files are referenced by the $EXOSIMS_PARAMS variable.

For example,

json-script-takeout.sh Scripts/HabEx_4m_TSDD_pop100DD_revwt.json

See also: json-attr-edit

Michael Turmon, JPL, Dec 2023