Hi UNIX GURUs,
Please help me in finding a solution for the following strange question. I have a unique requirement for which I need to get the COMPLETE TIME STAMP of last modified DATE and TIME (that should include all time stamp parameters: YEAR, MONTH, DAY, HOUR and TIME) for all the files in the given folder/directory.
At present I tried different forms of LS command, but the “ls” command is not giving the YEAR information for the most recent files that are last updated recently (with in 6 months), and at the same time for the files that are last modified more than 6 months ago, it is not giving the HOURS and MINUTES information. Basically for the older files, the YEAR is replacing the HOUR and TIME information.
My requirement is that I need to get all the time stamp parameters (Year, Month, Day, Hour and Minutes) for all the files.
Thank you very much for your time and any help is much appreciated.
Sincerely,
Unix Newbie.