Excluding a certain folder level, but not its subfolders
Posted: Thu Aug 08, 2019 8:46 am
The situation is that I've recently decompressed some 7z files, some of which have folders inside. I wish to take out the folders inside the folders that unzipping them made, rather, the "second layer" of folders.
Example:
If we take "Main Folder" where compressed files bla3.7z, bla4.7z, blabla5.7z, "Real Name 1.7z", "Real Name 2.7z" were unzipped using Extract to: "*\" using 7-zip.
The folders become:
Main Folder\bla3\Real Folder Name
Main Folder\bla4\Authentic Folder Name 2
Main Folder\blabla5\Genuine Folder Name 3
Main Folder\Real Name 1
Main Folder\Real Name 2\Act 1
Main Folder\Real Name 2\Act 2
How does one select only the second "layer" of folders (Real Folder Name, Authentic Folder Name 2, Genuine Folder Name 3)?
The outcome is to move them into the main folder, then delete the empty folders (those in bold) with the nonsense names.
Also, some of the "Real Name" folders have folders "Act 1" and "Act 2" in them, more specifically, folders inside the "Real Name" folders, which I want to exclude from the search as well.
How do I do this, or how do I learn how to do this?
Example:
If we take "Main Folder" where compressed files bla3.7z, bla4.7z, blabla5.7z, "Real Name 1.7z", "Real Name 2.7z" were unzipped using Extract to: "*\" using 7-zip.
The folders become:
Main Folder\bla3\Real Folder Name
Main Folder\bla4\Authentic Folder Name 2
Main Folder\blabla5\Genuine Folder Name 3
Main Folder\Real Name 1
Main Folder\Real Name 2\Act 1
Main Folder\Real Name 2\Act 2
How does one select only the second "layer" of folders (Real Folder Name, Authentic Folder Name 2, Genuine Folder Name 3)?
The outcome is to move them into the main folder, then delete the empty folders (those in bold) with the nonsense names.
Also, some of the "Real Name" folders have folders "Act 1" and "Act 2" in them, more specifically, folders inside the "Real Name" folders, which I want to exclude from the search as well.
How do I do this, or how do I learn how to do this?