Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

i'm trying to print the files that are of a size or higher but i don't get how find -size work i tried this.

find -size>100

But it still prints file smaller then 100 byte. So how do i do this?

share|improve this question
    
The command you have posted will not run in any case. You are not setting a size limit, you are redirecting the output to a file called ">". Well, you would if you were to add a space. As it is, you'll just get an error message. –  terdon Jan 25 '13 at 18:49
add comment

1 Answer 1

up vote 2 down vote accepted

find -size +100c

The + is equivalent to "greater than", and the "c" suffix indicates bytes (characters) rather than the default 512-byte blocks. Check man find for more information about the different size suffixes that can be used.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.