This question already has an answer here:
- Full file date (without GNU utilities) 2 answers
I’m looking for a command on AIX 7.1 that can give me filenames, size, and complete date/time (in a uniform format).
ls -land similar commands have the drawback that they give date (month and day) and time (hour and minute), if the file is not older than 6 months, and date and year otherwise. (I want year, month, day, hour, minutes and seconds for all files.)
The AIX version of
lsdoes not support
ls: Not a recognized flag: - ls: Not a recognized flag: - Usage: ls [-1ACFHLNRSabcdefgiklmnopqrstuxEUX] [File...]
What command that exists on AIX will give me the full date/time, in a consistent format, and the file size?