I have a windows folder that contains up to tens of thousands of files that I want to sort them into sub-folders. Luckily their naming structure is something like
germany_001.jpg, germany_002.jpg, germany_003.jpg ....germany_1000.jpg,etc
and italy_001.jpg, italy_002.jpg...italy_999.jpg
...many many other files starting with different names, in addition to germany and italy
is there any way to automate the process of creating each folder for Germany , and italy and ... many other files and moving the files to corresponding folders?
e.g. automatically creating a large number of folders with name like germany , italy, india ..........
e.g. then all files starting with germany_ being moved to germany folder
all files starting with italy_ being moved to italy folder..
germany_001.jpg, germany_002.jpg, germany_003.jpg ....germany_1000.jpg,etc
and italy_001.jpg, italy_002.jpg...italy_999.jpg
...many many other files starting with different names, in addition to germany and italy
is there any way to automate the process of creating each folder for Germany , and italy and ... many other files and moving the files to corresponding folders?
e.g. automatically creating a large number of folders with name like germany , italy, india ..........
e.g. then all files starting with germany_ being moved to germany folder
all files starting with italy_ being moved to italy folder..