I had a notion there was a hotkey for this in macOS, but cant remember or find it.
I should be very content if any of all the fine users here could set me right on this.
I attach two screenshots form finder (in the Danish version)...
In finder using listview you may see what is inside at folder by clicking the little '>' sign. It responds by pointing downward lige a 'v' and shows you the files that may reside in that folder.
Clicking again 'collapses' the view...
I have a lot of music placed in a specific folder, and each album has its own foldername. (There are more than 1.000 such Album-folders)
Sometimes it happens that umpteen folders have been opened (over time) and I want to collapse it all, but the only way I know of is clicking every 'v' so it collapses into the '>' version.
I would really like to do this in one go, by a hotkey that either execute this collapse, or by calling a macro that does the same job.