find . -maxdepth 1 -size +10M -exec du -shk {} \;| sed "s/\.\///g"|awk '$1 > 50 {print "split -l Specifylinenumber" " " $2}'|sh
After above file whose size is greater than 10M will be splitted as xaa,xab,xac and so on
Use below command to get it renamed
f=1;for i in xa*; do mv $i debug.log.00$f; f=$(($f+1)); done
您可以使用选项为拆分文件选择文件结尾
--additional-suffix