Trying to use osx find to find all the files in my directory tree. I googled and SO'd and looked at man but none helped.
So far I have: find -f -c1mb
which is clearly wrong.
find . -size +20000
The above one should work.
I guess you want to find files bigger than 1 Mb, then do
$ find . -size +1M
On Ubuntu, this works:
find . -type f -size +10k
The above would find all files in the current directory and below, being at least 10k.
This command tell you "the size" too :-)
find . -size +1000k -exec du -h {} \;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With