编写个shell脚本将/home/test 目录下大于10k的文件转移到/tmp目录下 !/bin/sh cd /home/test for i in `ls -l |awk '{if($5>10240){print 9}}'`do mv i /tmp done