source: configs/dcmip2016/PLOTS/copy_graphs.sh @ 437

Last change on this file since 437 was 437, checked in by dubos, 8 years ago

Plots for DCMIP2016

  • Property svn:executable set to *
File size: 397 bytes
Line 
1#!/bin/bash
2
3# collects all graphs from subdirectories
4# run first "make_all_graphs" to generate graphs
5
6ROOT=$(pwd)
7
8for CASE in test* ; do
9    cd $ROOT/$CASE/data
10    EXPS=$(ls)
11    for EXP in $EXPS ; do
12        echo $EXP
13        cd $ROOT/$CASE/data/$EXP
14        for IMG in $(ls *.png *.gif) ; do
15#           echo $IMG ../../graphs/${CASE}_${EXP}_${IMG}
16            cp $IMG $ROOT/graphs/${CASE}_${EXP}_${IMG}
17        done
18    done
19done
Note: See TracBrowser for help on using the repository browser.