#/!bin/sh
cd /app/tcs/GREEN_LANE/jar/z
sqlplus NAMSAN/namsan@150.50.46.10:1521/ora91 < rfid_dump.sql
 sed '/SQL>/d' RFID_CARS_INFO.CSV > RFID_CARS_INFO_.CSV
iconv -f EUC-KR -t UTF-8 RFID_CARS_INFO_.CSV -o RFID_CARS_INFO_8.CSV
cp RFID_CARS_INFO_8.CSV /app/tcs/GREEN_LANE/jar/make_rfid/
cd /app/tcs/GREEN_LANE/jar/make_rfid
java -jar make_rfid.jar 0
cp /app/tcs/GREEN_LANE/jar/make_rfid/RfidCarPL.bin /app_data/tcs/BASEINFO/RfidCarPL.bin
