du -h --max-depth=10 /home/pms/* | awk '{ if($1 ~ /M/){split($1, arr, "M")}; if(($1 ~ /G/) || ($1 ~ /M/ && arr[1]>200)) {printf "%-10s %s\n", $1, $2} }' | sort -n -r
转载于:https://www.cnblogs.com/iceiceiceice/p/2f5a74eeab98a13dcd4d9c342a2bb407.html
du -h --max-depth=10 /home/pms/* | awk '{ if($1 ~ /M/){split($1, arr, "M")}; if(($1 ~ /G/) || ($1 ~ /M/ && arr[1]>200)) {printf "%-10s %s\n", $1, $2} }' | sort -n -r
转载于:https://www.cnblogs.com/iceiceiceice/p/2f5a74eeab98a13dcd4d9c342a2bb407.html