#!/bin/bash for i in $(ls -l | awk '$5>1024 {print $8}') do mv $i /tmp done 转载于:https://blog.51cto.com/455178278/1339631