G
G
gardazuru2015-03-21 10:58:08
bash
gardazuru, 2015-03-21 10:58:08

How to compare the modification date of a file with the current one?

It is required to generate a monthly report on changes in the working directory (files changed). It is necessary to check the file modification date, if it coincides with the current month, then the files have been modified.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
George, 2015-03-21
@gzheyts

stackoverflow.com/a/5289636
file modified date --> stackoverflow.com/a/4774377

S
ShamblerR, 2015-03-23
@ShamblerR

find / -mtime -31 -print

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question