Closing multiple open sub-folders in Apple OS X Sierra.

If I have a group of sub-folders within a main folder that remain open after processing in an app like PhotoShop, is there any way to close all the sub-folders when I close the main folder without going through and tripping all the flippy-triangles individually?
1 person has
this question