*nix find files by file size

*nix find 按文件大小查找文件:

-size

find {/path/to/directory/} -type f -size +{size-in-kb}k

如查找尺寸大于5M的mp3文件:

find /mp3collection -name '*.mp3' -size +5000k

查找尺寸小于1k的图片文件:

find . -size -1k

references:

http://www.codecoffee.com/tipsforlinux/articles/21.html

http://www.cyberciti.biz/faq/find-large-files-linux/