Hi,
I appreciate if someone could help me on this one.
I have following setup of files and sub-folders:
algo_xxx\
algo_yyy\
algo_zzz\
xxx_algo_report.csv
yyy_algo_report.csv
zzz_algo_report.csv
hhh_algo_report.csv
Is there anyone who know a script to check if a file contains ID xxx, yyy, zzz in the beginning of a file and then move it to a sub-folder that ends with same ID? There is one file with ID hhh that does not have any sub-folder and it should be ignored.
Best regards,
Mika
I appreciate if someone could help me on this one.
I have following setup of files and sub-folders:
algo_xxx\
algo_yyy\
algo_zzz\
xxx_algo_report.csv
yyy_algo_report.csv
zzz_algo_report.csv
hhh_algo_report.csv
Is there anyone who know a script to check if a file contains ID xxx, yyy, zzz in the beginning of a file and then move it to a sub-folder that ends with same ID? There is one file with ID hhh that does not have any sub-folder and it should be ignored.
Best regards,
Mika