title: How to loop through all directories and use folders as names?
body: <p>I am looking for a way to loop through all the directories in my folder and get the first name of the folder. Folders are named name-something-something. I want name.</p>