How many files on all the subdirectories

I want to know the total number of files in all the subdirectories from the courant path.
Here is the clue :

[pene@donunix] dir -1 | xargs -i% ls %/ | wc -l

NB : In my subdirectories there is only files, not directories.

No comments: