#!/usr/bin/env bash outdir=$1 indir=$2 mkdir -p ${outdir}/evaluate for subjdir in ${indir}/preproc/*; do subj=$(basename ${subjdir}) truenet evaluate \ -i ${indir}/preproc/${subjdir} \ -m mwsc -o ${outdir}/evaluate