Merge Directory Structures

Off-topic posts of interest to the "Everything" community.
Post Reply
therube
Posts: 4610
Joined: Thu Sep 03, 2009 6:48 pm

Merge Directory Structures

Post by therube »

Merge Directory Structures

did you know you can flatten (better said, merge), yet retain subdirectory structures

so if you search for,
folder: xyz123

& you get stuff like:

/<rand>.xyz123/
/<rand>.xyz123/
/<rand>.xyz123/
(<rand> is some random nonsense)

& when you go to rename, you're presented something like

\1.xyz123

& if you remove \1.
then all the individual <rand>.xyz123 are merged into a single directory named, "xyz123"
- all the while, retaining subdirectory structures, only difference is that they are all
now under that singular xyz123 parent

neat.
though, DO be careful & mindful of the prompts that Windows may present you with.

in my case, all top-most directories that i started this with
contain multiple subdirectories within each parent - before any files were come
across & each set of subdirectories were also uniquely named, so there were no
further conflicts, & therefore no individual file overwrite notifications

neat.
though, DO BE CAREFUL.
(i wasn't sure what was going to happen, so i threw caution to the wind ;-).)

depending, it can be helpful to combine your search with parents:
Post Reply