in reply to Re: Age of dir in UNIX
in thread Age of dir in UNIX

Thank You for your response. This does not work as well. it is always goes into else part of IF

Replies are listed 'Best First'.
Re^3: Age of dir in UNIX
by marto (Cardinal) on Dec 05, 2013 at 11:15 UTC

    I tested this on debian, creating new files/directories, running the code, waiting for a few minutes and running the code again. It worked every time. Try adding some debug statements, perhaps the values aren't what you expect them to be.