For a university project, I have to count all the files in a folder. I have used the command:
find ./dirName | wc -l
Although when I compare this to the file count provided by Nautilus it is considerably more. See the screenshot below:
./dirName is actually a directory of files from a repository (SVN/GIT) and I need to find out how many files make up the system.
Could anyone explain why these differences occur and maybe tell me which one is more reliable?