Advertisement

05.20.2008 at 09:51AM PDT, ID: 23417961
[x]
Attachment Details

I need a line in a If statement that will test if file is from the current day

Asked by LindaC in IBM AIX Unix, Sun Solaris

I need a line that I will add to a If statement that will test if a file is from the current day: This for Aix but maybe Soalris will work.

Example:

If the date of the file /home/oracle/dba/script/TS_back.sql is from today then
...
..
I will do other thingsStart Free Trial
 
 
[+][-]05.20.2008 at 11:23AM PDT, ID: 21608783

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 11:24AM PDT, ID: 21608793

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: IBM AIX Unix, Sun Solaris
Sign Up Now!
Solution Provided By: sentner
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.20.2008 at 12:45PM PDT, ID: 21609665

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628