Forrest logo
back to the find tool

find:ai:73ada

Recursively counts all files in the current directory and its subdirectories
$ find . -type f | wc -l
try on your machine

Recursively counts all files in the current directory and its subdirectories

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • count files in directory recursively?
back to the find tool