I have many nested collections with some suffixes as below
[Main Collection 1]
-[Sub Collection 1]
--[Sub Collection 1 ON]
--[Sub Collection 1 OFF]
-[Sub Collection 2]
--[Sub Collection 2 ON]
--[Sub Collection 2 OFF]
I need a script that finds all the collections that are ending with -ON- and turn their render visibility off, and then finds all the collections that are ending with -OFF- and turn their visibility on.