Count number of files in a *nix directory
I’ve hit an issue in Alfresco CMS with it not starting up at all. So I dug a little deeper and found that there is a 32000 file count problem in the lucene index directory. So to see if it might be this problem, I issued this handy little command:
ls | wc -l
And sure enough, [...]