如何根据文件大小进行unix查找,包括在子目录中?

Mic*_*ant 5 unix directory macos grep find

尝试使用osx find查找目录树中的所有文件.我用谷歌搜索,看着男人但没人帮忙.

到目前为止,我有:find -f -c1mb 这显然是错误的.

Tej*_*eja 7

find . -size +20000
Run Code Online (Sandbox Code Playgroud)

上面的应该工作.


Die*_*ano 5

我想你想找到大于1 Mb的文件,然后呢

$ find . -size +1M
Run Code Online (Sandbox Code Playgroud)