Hi
I have a requirement like below
I need to sort the files based on the timestamp in the file name and run them in sorted order and then archive all the files which are one day old to temp directory
My files looks like this
PGABOLTXML1D_201108121235.xml
PGABOLTXML1D_201108121245.xml
PGABOLTXML1D_201108121325.xml
I am fairly new to shell scripting. Any help would be much appreciated. Thanks in advance.