记录当前时间,输出内容到文档

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash

time=$(date "+%Y%m%d-%H%M%S")
echo $time

curDir=$PWD
srcFile=$curDir/output/latest/ANP/log/pavaro.EM_LANE.log
dirDest=$curDir/temp/lane

#rm -rf $dirDest
mkdir $dirDest

dirDest=$dirDest/$time
mkdir $dirDest
echo $dirDest

cd modules/em/ANP/tools/lanefusion_tools

skipFrame=$1
if [[ $skipFrame == '' ]]; then
skipFrame=-1
# skipFrame=-1
fi
echo "Skip Frame = " $skipFrame

#python run_lane_draw.py $srcFile -o $dirDest -c $skipFrame -draw_partial "0 0 200" -j10
python run_lane_draw.py $srcFile -o $dirDest -draw_partial "0 0 200" -j10

nautilus $dirDest