1 Answers1

3

Perhaps

find path/to/directory/ -type f -size +100M -printf 1 | wc -c

Or, if you want to limit the search to the top level directory only (without descending into subdirectories)

find path/to/directory/ -maxdepth 1 -type f -size +100M -printf 1 | wc -c
steeldriver
  • 81,074