#!/usr/bin/ksh

#site=$1
site=larg
find /disks/themisdata/thg/ascii_data/mag/${site} -name \*${site}\*txt -fls out.txt
#while read line
#do
#	FileName=$(echo $line |awk -F/ '{print $4}')
#	DataTime=$(echo $FileName | awk -F_ '{print substr($5,1,4) "-" substr($5,5,2) "-" substr($5,7,2) " 00:00:00"}')
#	FileSize=$(ls -l $line |awk '{print $5}')
#	ProcessTime=$(date -u '+%Y-%m-%d %T')
#	echo $DataTime,$FileName,$ProcessTime,$FileSize >> ${site}_ascii.txt
#done < out.txt
#rm out.txt



