21

how i can use linux find command for search files that more MIN and less MAX

I tried to use the following command:

find . -type f -a -size +1000 -a -size -1100

but it does not work

Ivan Ivanovich
  • 880
  • 1
  • 6
  • 15

1 Answers1

33

Assuming you want file sizes between 1000 and 1100 bytes:

find . -type f -size +1000c -a -size -1100c
nwk
  • 4,004
  • 1
  • 21
  • 22