So here is the deal. Say I have a directory called "web", so
$ ls -la drwx------ 4 rimmer rimmer 4096 2010-11-18 06:02 web
BUT inside this directory, web / php /
$ ls -la -rw-r--r-- 1 rimmer rimmer 1957 2011-01-05 08:44 index.php
This means that although the contents of my directory, /web/php/index.php was last changed in 2011-01-05, the / web / directory itself is reported as last modified in 2010-11-18.
What I need to do is to indicate the last modification date of my / web / directory, indicated as the last modification date of any file / directory inside this directory, recursively.
How should I do it?
linux scripting bash shell ubuntu
Richard Rodriguez Feb 14 2018-11-21T00: 00Z
source share