How to count how many files there is in a folder in Linux
I wanted to count how many zettels.
The easiest way I found
ls -l | wc -l
If you want to find all files inside folders, like I have zettels/literature, zettels/permanent, zettels/fleeting and zettels/published. You can use find
find zettels -name "*.md"
References
How to count files in directory on linux
How to exclude a directory in find . command