du -sg ${v_interface_file}.Z > 1.log echo "\n" >> 1.log while read v_line do echo $v_line v_size=`echo $v_line | awk '{print $1}'` v_size_int=`echo $v_size | awk -F . '{print $1}'` v_file=`echo $v_line | awk '{print $2}'`
if [ "$v_size_int" -ge "2" ];then echo "文件$v_file大小为v_size超过2M,请重新手工打包、压缩"
return 1 fi done<1.log