I have a set of files that I need to rename based on the creation time, by appending two digits to the beginning indicating the sequence.
Say, I have the following files:
Filename Creation time api.c 00:15 helloworld.h 00:05 ubuntu.iso 00:10
After renaming, the filenames should be of the form:
01_helloworld.h 02_ubuntu.iso 03_api.c
How should I go about doing this?