I need help in writing a shell script. I have a file Date.out that is being modified everyday.
-rw-r--r--+ 1 STND10 STND10 10 Jun 22 09:40 Date.out
I required to create a shell script to capture the file modified date form Date.out & update another file datelog.out.
I have to update only Previous Date of the datelog.out file.
The datelog.out file have following 2 rows. Only the Previous Date to be updated.
Current Date = 25-June-2005
Previous Date = 22-June-2005