Is there a way to check the number of files in a folder on MacBook, other than manually counting them?
Use the command:
$ ls -A | wc -l
What you're doing here is piping the output to another Unix function called
wc (word count) and counting each line individually (the
-l flag). The
ls -A command will list all entries including files/folders starting with a
. (which are not visible from Finder usually), only excluding
.. (which stand for the current directory and the parent directory, respectively).