mirror of
https://github.com/sesps/SPS_SABRE_EventBuilder.git
synced 2024-11-26 19:38:50 -05:00
16 lines
279 B
Bash
Executable File
16 lines
279 B
Bash
Executable File
#!/bin/bash
|
|
|
|
RUNNO=$1
|
|
BINARYDIR=/nvme/27Al_Feb2021/DAQ/run_$RUNNO/UNFILTERED/
|
|
ARCHIVE=/nvme/WorkingData/raw_binary/run_$RUNNO.tar.gz
|
|
|
|
echo "Running archivist for binary data in $BINARYDIR to archive $ARCHIVE..."
|
|
|
|
cd $BINARYDIR
|
|
|
|
tar -cvzf $ARCHIVE ./*.bin
|
|
|
|
cd -
|
|
|
|
echo "Complete."
|