Avatar of Ben W
Ben W
 asked on

Is there a way to batch move one sub folder into another for over 200 folders?

I have a root folder C:\Users\username\Desktop\FolderStructure_New that contains 215 folders. Each folder is named for a SKU. In each folder, there is a folder for the revision level. Each revision folder contains a folder titled "Art files" and a folder that is a collect from Adobe InDesign, titled as "[Revision-name] Folder" (see below for example). Most of the files share the prefix "PC-", but a portion have the prefix "40-".

The folder structure is like this:

 
  +---40-1234-24
    |   \---40-1234-24G
    |       +---40-1234-24G Folder
    |       |   +---Document fonts
    |       |   \---Links
    |       \---Art files
     +---PC-5678-24
    |   \---PC-5678-24J
    |       +---Art files
    |       \---PC-5678-24J Folder
    |           +---Document fonts
    |           \---Links

Open in new window



----------
What I need to do is move each "[Revision name] Folder" into it's corresponding "Art files" folder. I would love to be able to do this with some sort of batch processing. Also, if it's possible to make the process work on more than one directory (which will also be on my desktop), that would be awesome.

Any help would be immensely appreciated!
PowershellWindows Batch

Avatar of undefined
Last Comment
sirbounty

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
sirbounty

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Ben W

ASKER
That worked perfectly!!! Thank you so much @sirbounty!
sirbounty

Happy to have helped. :^)
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck