add shell command files asotr_unzip.sh and asotr_parse.sh as auxillary commands for asotr MVN data parsing
This commit is contained in:
parent
5f6fd039f7
commit
1bffd71942
2
asotr_parse.sh
Normal file → Executable file
2
asotr_parse.sh
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
ls | grep -P '.*data01.asotr01' | xargs -I {} ./asotr_csv -f {} >> ../asotr1_T.csv
|
ls | grep -P '.*data01.asotr01' | xargs -I {} ./asotr_csv -f {} >> ../asotr1_T.csv
|
||||||
ls | grep -P '.*data02.asotr01' | xargs -I {} ./asotr_csv -f {} >> ../asotr1_P.csv
|
ls | grep -P '.*data02.asotr01' | xargs -I {} ./asotr_csv -f {} >> ../asotr1_P.csv
|
||||||
ls | grep -P '.*data06.asotr01' | xargs -I {} ./asotr_csv -f {} >> ../asotr1_TSET.csv
|
ls | grep -P '.*data06.asotr01' | xargs -I {} ./asotr_csv -f {} >> ../asotr1_TSET.csv
|
||||||
|
11
asotr_unzip.sh
Executable file
11
asotr_unzip.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
if [ $# != 1 ]
|
||||||
|
then
|
||||||
|
echo "error use $0. Right use this script: "
|
||||||
|
echo "$0 path"
|
||||||
|
echo "example 1: $0 ./20250120-000"
|
||||||
|
else
|
||||||
|
path_=$1
|
||||||
|
tar -xvzf ${path_}/data/asotr.tar.gz -C ${path_}/data
|
||||||
|
fi
|
Loading…
x
Reference in New Issue
Block a user