Lets say i have multiple filesnames e.g. R014-20171109-1159.log.20171109_1159. I want to create a shell script which creates for every given date a folder and moves the files matching the date to it. Is this possible?
For the example a folder "20171109" should be created and has the file "R014-20171109-1159.log.20171109_1159" on it.
Thanks