asotr_csv/asotr_all_unzip_auto.sh

17 lines
289 B
Bash
Executable File

#! /bin/bash
if [ $# != 1 ]
then
echo "erorr use $0. Right use this script: "
echo "$0 path"
else
cp ./target/release/asotr_csv ./data
path_=$1
find ${path_} -maxdepth 1 -type d | xargs -I {} ./asotr_unzip.sh {}
cd ./data
./asotr_csv -d ${path_}
python3 ./plot_flight_all.py
fi