I have a bunch of files with a pattern like this:
Or a real example:
I want to copy these files to another directory in date and time order contained within the filename. I also only want to apply this to filenames that match the above pattern.
Are there any tools that exist to do this? If not I imagine a script could be used, something like.
- Match filenames by regex
- match date section by regex then list by date ascending
- for each date match time by regex then list by time ascending add each file to global list.
- Once finished with organising file list copy files