I have a source path:
"Z:\SourceFolderTree\"
with this structure:
"Z:\SourceFolderTree\Folder i\subfolder j\202X"
Inside each of these subfolders there are sub-subfolders for each year starting from 2021, the actual data I need to copy is stored at this level.
I'd like to copy the entire folder structure into a different path but excluding previous years, hence only keeping the data relating to 2023.
I managed to create an exact replica of the source folder-tree in my destination path excluding the years prior to 2023.
The idea is to copy all the content from the source to the destination folders if the path matches, i.e;:
copy all the content of:
Z:\SourceFolderTree\Folder 1\subfolder 1\2023
Z:\SourceFolderTree\Folder 1\subfolder 2\2023
etc
to
Y:\My Documents\DestinationFolderTree\Folder 1\subfolder 1\2023
Y:\My Documents\DestinationFolderTree\Folder 1\subfolder 2\2023
I hope this is clear..
Any idea please? Thanks
"Z:\SourceFolderTree\"
with this structure:
"Z:\SourceFolderTree\Folder i\subfolder j\202X"
- Folder i means that there can be a variable no. of folders (currently 17)
- subfolder j means that there can be a variable no. of subfolders (currently one folder has 75 subfolder)
Inside each of these subfolders there are sub-subfolders for each year starting from 2021, the actual data I need to copy is stored at this level.
I'd like to copy the entire folder structure into a different path but excluding previous years, hence only keeping the data relating to 2023.
I managed to create an exact replica of the source folder-tree in my destination path excluding the years prior to 2023.
The idea is to copy all the content from the source to the destination folders if the path matches, i.e;:
copy all the content of:
Z:\SourceFolderTree\Folder 1\subfolder 1\2023
Z:\SourceFolderTree\Folder 1\subfolder 2\2023
etc
to
Y:\My Documents\DestinationFolderTree\Folder 1\subfolder 1\2023
Y:\My Documents\DestinationFolderTree\Folder 1\subfolder 2\2023
I hope this is clear..
Any idea please? Thanks