Copy selected folders with Robocopy
Posted on 2013-11-20
I have a file server that has home drives for hundreds of users which we are migrating to a new server share. There are about 10 sub-folders under the "Home" parent folder and within those 10 sub-folders are the user home directories for their particular place of employment. I'd like to selectively copy the specific folders that are still in use to the new share. I've researched robocopy and it appears that this is not an option with that tool. So I was hoping to using Robocopy within a for /f loop to select the appropriate folders, and then copy them to the destination.
Is this at all possible? Is there an easier way? I love robocopy but it only works well with source to destination copies and not very well with particular files/folders. Thank you for your help.