Unix shell script to generate the metadata files for LOSO cross-validataion