My question today is regarding searching specific file inside a folder, I have 21 files that I need to find inside a folder which contains subfolders, my idea was to search for them then add those files to a list or array or something of sort so that i would be able to later move those files to another location, my issue here is how should I group those 21 file names to work as a filter and then how to create the list with the files so that I can move them to the other directory
Hi @goncalo.rocha
If you know all the 21filename that you need to find out ,you can do it in this way
place all the file name you want to find out in excel
Read the excel
loop through it
use PAth exist check the file you are looking is found or not
IF found then use move file activity to move the file to the desired location
if not found you can use log the message as file not found.
my issue here is that the files might not always be on the same subfolder there fore the file path might change, I only have the name of the file itself, the full path cannot always be considered the same, i was thinking in something like a:
for each file in folder (including subfolders)
if file contains (filename) add to list
or something like that, would it be doable or would it take too much time?