.Snippet: Get the number of directores in a path by first letter - Chris Stretton

Chris Stretton

May 31, 2023

Snippet: Get the number of directores in a path by first letter

find . -maxdepth 1 -type d -not -name '.*' | tr '[:upper:]' '[:lower:]' | sort | cut -c3-3 | uniq -c | sort -n

OLDER > < NEWER