ANASEN_analysis/archivist

16 lines
296 B
Bash

#!/bin/bash
RUNNO=$1
BINARYDIR=/media/nvmeData/ANASEN_ppprimeMar20/
ARCHIVE=/media/nvmeData/ANASEN_ppprimeMar20/Archive/run_$RUNNO.tar.gz
echo "Running archivist for binary data in $BINARYDIR to archive $ARCHIVE..."
cd $BINARYDIR
tar -cvzf $ARCHIVE ./*Run_$RUNNO*.fsu
cd -
echo "Complete."