Copy each folder from 2020 named (NAME) to its mirror location in 2021
Posted: 22 Jan 2021 04:00
Hello,
Let me explain what I am trying to do:
I want to copy each folder called "Reference_asset_folder" that is present in folder "2020" to its mirror location in folder "2021". (the folder 2021 already exists before the script is executed)
---------------------------------------------------------------------
Original tree structure:
2020
|_Address 1
---|_Reference_asset_folder
------|_Content_file
---|_Project 01
---|_Project 02
|_Address 2
---|_Reference_asset_folder
------|_Content_file
---|_Project 01
---|_Project 02
|_Address 3
---|_Project 01
---|_Project 02
Status of the 2021 folder after execution of the script:
2021
|_Address 1
---|_Reference_asset_folder
------|_Content_file
|_Address 2
---|_Reference_asset_folder
------|_Content_file
Note that nothing has been copied for Address 3 because it does not include a "Reference_asset_folder" folder in 2020.
---------------------------------------------------------------------
Does it seem possible to do this using a batch?
Could you provide me with some first steps so that I can try to develop this script?
Thank you very much in advance !
Let me explain what I am trying to do:
I want to copy each folder called "Reference_asset_folder" that is present in folder "2020" to its mirror location in folder "2021". (the folder 2021 already exists before the script is executed)
---------------------------------------------------------------------
Original tree structure:
2020
|_Address 1
---|_Reference_asset_folder
------|_Content_file
---|_Project 01
---|_Project 02
|_Address 2
---|_Reference_asset_folder
------|_Content_file
---|_Project 01
---|_Project 02
|_Address 3
---|_Project 01
---|_Project 02
Status of the 2021 folder after execution of the script:
2021
|_Address 1
---|_Reference_asset_folder
------|_Content_file
|_Address 2
---|_Reference_asset_folder
------|_Content_file
Note that nothing has been copied for Address 3 because it does not include a "Reference_asset_folder" folder in 2020.
---------------------------------------------------------------------
Does it seem possible to do this using a batch?
Could you provide me with some first steps so that I can try to develop this script?
Thank you very much in advance !