Sample Header Ad - 728x90

How can I move all files matching a pattern into a new folder?

2 votes
2 answers
128 views
I have files like these : - REPORT_100_COMPLETED.csv - REPORT_100_FAILED.csv - REPORT_101_COMPLETED.csv - REPORT_101_FAILED.csv - REPORT_102_COMPLETED.csv - REPORT_102_FAILED.csv I want all of them to be put inside subfolder according to the related id : 100 | REPORT_100_COMPLETED.csv | REPORT_100_FAILED.csv 101 | REPORT_101_COMPLETED.csv | REPORT_101_FAILED.csv 102 | REPORT_102_COMPLETED.csv | REPORT_102_FAILED.csv and so on, anyone can help? Thank you in advance!
Asked by nemuroito (23 rep)
Mar 31, 2021, 03:27 AM
Last activity: Nov 19, 2024, 11:12 AM