I am using this command,
find -name (file name) -ls | awk '{print $11,"\t",$5,"\t",$7,"\t",$8,$10}'
to gather information of tons of files. However, some files are giving us weird numbers where date should be, if files are modified in 2018. was wondering if you have any suggestion on this to convert those numbers to standard format, i.e, May 2016, May 2017, May 2018. Have no problem with output of files that were modified before 2017.
Is there any way to get an output with current year in that format, like May 2018?
date
might be useful, with-d, --date=STRING
– Xen2050 Sep 14 '18 at 02:03ls
? and the same rationale applies. – David Foerster Sep 14 '18 at 09:53