Linux/file date

From Omnia
Jump to navigation Jump to search

Get file date in epoch seconds: (good for comparing date of two files)

stat -c%Z myfile.txt


ref: [1]