Hi everyone,
I would like to move files into their own subfolders based on their filenames.
So I currently have one folder which contains for example:
blue-2021-11-14-0001
blue-2021-11-14-0002
blue-2021-11-14-0003
blue-2021-11-14-0004
red-2021-11-14-0001
red-2021-11-14-0002
red-2021-11-14-0003
red-2021-11-14-0004
yellow-2021-11-14-0001
yellow-2021-11-14-0002
yellow-2021-11-14-0003
yellow-2021-11-14-0004
Now I want to move each file that STARTS with "blue" into a subfolder named "blue", each file that STARTS with "red" into a subfolder named "red" and so on.
Please let me know if this is possible and what I will have to do to accomplish this.
Thank you????