title: How to mass copy folder names in a directory using the terminal?
body: <p>I have folder A that contains a lot of other folders. I want to copy all the folder names so that I can paste them elsewhere. How can I do that using the terminal?</p>
  
  <p>Folder A
   - folder_1
   - folder_2
   - folder_3</p>
  
  <p>When I copy I should have folder_1, folder_2, folder_3 in my clipboard.</p>
  
  <p>Note: I only want the name and not the contents</p>