26 ms·Try something like: find . | sed -e 's=/[^/]*$==' | uniq -cby ajayss 13y agoTry something like: find . | sed -e 's=/[^/]*$==' | uniq -c