File size: 520 Bytes
b4975b4
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
# Resumable copy of the cluster-built patch sets (PANDA, TCGA-OT) to the Thesis drive. Rerun to resume.
DEST=/run/media/than-minh/Thesis/TTA-packets/patch-sets
SRC=/mnt/vast-kisski/projects/kisski-imm/thanm_WSI/embedding-acquire/hpc-run/topk-build/patch-sets-out
for ds in PANDA TCGA-OT; do
  mkdir -p $DEST/$ds
  nice -n 19 ionice -c3 rsync -a --partial --inplace --include='*.pt' --exclude='*' -e "ssh -o BatchMode=yes" hpc:$SRC/$ds/ $DEST/$ds/ || echo "rsync $ds exit $?"
done
echo "finished $(date -Is)"