Copy specific folders and files - TechRepublic
Question
February 21, 2008 at 04:58 AM
prcgroup

Copy specific folders and files

by prcgroup . Updated 18 years, 4 months ago

We have several hundred project folders each which the same subfolder structure. I am trying find a way to automate the task (with a script or whatever) of copying one of the subfolders (containing temperary data) to another drive and deleting the contents from the original.

Imagine the folder structure for each project is:

in
out
temp

so for example project1 folder looks like

project1
— in
— out
— temp

and project2 is:

project2
— in
— out
— temp

and so on…

I am trying to copy just the temp file to another drive where it would create the parent folder (project folder) and the temp folder, :-

project1
–temp

project2
–temp

then delete the contents of the original temp folder.

if that makes any sense

This discussion is locked

All Comments