- Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathrun_batch.sc
More file actions
Latest commit
executable file
·17 lines (13 loc) · 591 Bytes
/
Copy pathrun_batch.sc
File metadata and controls
executable file
·17 lines (13 loc) · 591 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
if [ !-d"/tmp/plots" ];then
mkdir /tmp/plots
fi
echo""> /tmp/plots/run_batch.txt
foriin$(ls -1v ./[o-q]*.py );do
echo""|& tee -a /tmp/plots/run_batch.txt
echo"##############################################################"|& tee -a /tmp/plots/run_batch.txt
echo"$i ###############################"|& tee -a /tmp/plots/run_batch.txt
echo"##############################################################"|& tee -a /tmp/plots/run_batch.txt
echo""|& tee -a /tmp/plots/run_batch.txt
python3 $i|& tee -a /tmp/plots/run_batch.txt
done