LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to find files within certain size boundaries? (https://www.linuxquestions.org/questions/linux-general-1/how-to-find-files-within-certain-size-boundaries-455854/)

kornerr 06-17-2006 11:43 PM

How to find files within certain size boundaries?
 
I want to find files which are larger than 150M and less than 200M. How to do it in console?

Thanks.

binary_y2k2 06-18-2006 12:06 AM

something like
Code:

find -size -200M -size +150M

kornerr 06-18-2006 12:14 AM

Thanks, binary_y2k2.
Code:

find . -size -200000k -size +150000k
works fine.


All times are GMT -5. The time now is 05:33 PM.