OK, if the mtime is a close enough approximation to creation time, use the stat command to format the value. As human readable it'll still be awkward to parse - if it was me I'd use "stat" to get mtime in seconds since epoch, then pass that to "date" to format as appropriate. Then construct the output file name.
For each file...
Hence a script ...
Sounds harder than it really is I suspect.
|