Attempting to combine numerous subfolders with varying names into a single directory.
Attempting to combine numerous subfolders with varying names into a single directory.
I have a directory I'm working with (I'll name it folder 1). Inside that folder are 287 subfolders (these will be folder 2), each with unique names. Within those subfolders, there are 3 folders of the same type (folder 3). My goal is to collect all the folder 3s from folder 2 and combine them into a single folder with the same name. I'm struggling to figure out how to extract these folder 3s without manually handling each of the 287 subfolders. This is really frustrating—I need a solution that doesn't require moving files one by one. Can you help me find a way to do this automatically?