I'm trying to count the number of files in a directory and all the sub directories. The command "find . -type f | wc -l " worked in a directory with a few files and sub-directories but it is not working in a directory with lots of sub-directories and files. It just comes back in a few seconds showing nothing. The slice is 100% full. Not sure if that's playing a factor.
Any other good way to count?