makeLogDist.sh 392 Bytes
Newer Older
Juon Kawakami's avatar
init  
Juon Kawakami committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

. $(dirname $0)/config.sh

MAPS="VC1 Paris1 Kobe1 Berlin1 Istanbul1 Kobe2 Paris2 Istanbul2 Berlin2 VC2 Paris3 Istanbul3 Berlin3 Kobe3 Istanbul4 Berlin4 Paris4 VC4 Paris5 Berlin5 Kobe4 Istanbul5 VC5"

DIR=$(pwd)

for map in $MAPS; do
    FILES=$(find $LOGDIR -name *$map*|grep kernel)
    mkdir -p $DISTDIR/$map
    for f in $FILES; do
        cp "$f" $DISTDIR/$map
    done
done