I’ve got a long list of folders in a folder on my Mac. In the List view of Finder, folders are displayed collapsed or expanded by the ▶︎ or ▼ sign on the left side respectively.

screenshot of folders in the List view

I am wondering if there is a way to expand and collapse these folders using the keyboard as it is quite slow to click them all using a mouse. Moreover, is there a command to expand/collapse all folders in the current view? Unfortunately, I have not found such an option in Finder’s main menu.

  • Excellent wording and picture. This will help bring people to the main Q&A covering this
    – bmike
    Sep 23 '21 at 10:11

When a folder is selected in the List view, press:

  • to fold (collapse) it,
  • to unfold (expand) it.

If multiple folders are selected concurrently, all of them will be (un)folded.

See also:

Not the answer you're looking for? Browse other questions tagged .