File Age

posted Sep 10, 2010, 7:40 AM by Sachchida Ojha

These options test the file modification date.

 `file1 -nt file2' : True if file1 is newer than file2.

 `file1 -ot file2':  True if file1 is older than file2.

Comments