webapps / hmc /reference /scripts /fetch-epic-runs.sh
gdevenyi's picture
hmc: NiFreeze 3bcfb00 and QSIPrep 26.1.1 SHORELine reference runs on ds005577 sub-107 (part 9)
a4ba047 verified
Raw History Blame Contribute Delete
591 Bytes
#!/usr/bin/env bash
# Copy the epic QSIPrep runs e1..e3 back (without per-run tmp/ and home/).
set -euo pipefail
export TMPDIR=/var/tmp/dwi-tmp
SRC=epic:scratch/hmc-m0-reference-runs
DST=/var/tmp/dwi-hmc/runs
for n in e1 e2 e3; do
rsync -az --partial --exclude=/tmp/ --exclude=/home/ "$SRC/runs/qsiprep-$n/" "$DST/qsiprep-$n/"
rsync -a "$SRC/runs/qsiprep-$n.driver.log" "$DST/"
done
rsync -a "$SRC/runs/launch.log" "$DST/epic-launch.log"
rsync -a "$SRC/containers/qsiprep-26.1.1.digest" "$SRC/containers/qsiprep-26.1.1.sif.sha256" /var/tmp/dwi-hmc/scripts/epic/
du -sh "$DST"/qsiprep-e*