/Designs/Measuring_instruments/GeoMet01A/DATA/logger.sh/logger.sh |
---|
2,7 → 2,7 |
#sudo picocom /dev/ttyUSB0 | |
while [ 1 ]; do |
if read line; then |
echo -n "$line $(date +%Y-%m-%d-%H-%M-%S.%N) \n\r" | tee -a ./$(date +%F)_$1.log |
echo -n "$line $(date +%Y-%m-%d-%H-%M-%S.%N) \n\r" | tee -a ./GeoMet01_$(date +%F).log |
fi |
done |