Print a file’s last modified date in Bash
This is the simple and fastest solution,
Here, we are use the command something called stat,
stat -c %y "$entry"
%y time of last modification, human-readable
To get the solution faster, we simply use date command instead of stat ,awk and so on.
date -r <filename>
For date formatting look and use the man page;
An example with common date and time format is here.
date -r <filename> "+%m-%d-%Y %H:%M:%S"
Use the stat command is always better,
stat -c%y Localizable.strings | cut -d'.' -f1