Copying filtered files and folders into root of destination folder

Discuss new features and functions
Posts: 2
Joined: 26 Oct 2018

Proger

It is possible to create the filter which would allow to copy files and folders from the source without structure of folders?
In more detail:
- The source contains structure of folders and files, some of which contain in name a certain sequence of symbols, for example"!copyme" (and them it is easy to filter by means of include)
Example:
/Source/AAA/somefile_in_aaa_1.txt
/Source/AAA/somefile_in_aaa_2!copyme.txt
/Source/AAA/somefile_in_aaa_3.txt
/Source/AAA/somefile_in_aaa_4!copyme.txt
/Source/BBB!copyme/somefile_in_bbb_5.txt
/Source/BBB!copyme/somefile_in_bbb_6.txt
/Source/CCC/somefile_in_ccc_7.txt
/Source/CCC/somefile_in_ccc_8!copyme.txt
/Source/CCC/DDD!copyme/somefile_in_ddd_9.txt
/Source/CCC/DDD!copyme/somefile_in_ddd_10.txt

Tell me please, it is possible to get in destination folder:
- all files containing in the name "!copyme", without structure of folders (all in one folder)
- all folders containing in the name "!copyme" with all their content, without structure of folders (all in one folder)
as this:

/Destination/somefile_in_aaa_2!copyme.txt
/Destination/somefile_in_aaa_4!copyme.txt
/Destination/BBB!copyme/somefile_in_bbb_5.txt
/Destination/BBB!copyme/somefile_in_bbb_6.txt
/Destination/somefile_in_ccc_8!copyme.txt
/Destination/DDD!copyme/somefile_in_ddd_9.txt
/Destination/DDD!copyme/somefile_in_ddd_10.txt