RE: find 2 days ago date in Solaris

  • From: "Bobak, Mark" <Mark.Bobak@xxxxxxxxxxxxxxx>
  • To: <Ron.Reidy@xxxxxxxxxxxxxxxxxx>, <vikramsingh120@xxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 8 May 2006 13:34:25 -0400

That works on Linux, Ron, but not Solaris.
 
-Mark
 
PS See this: http://home.comcast.net/~j.p.h/cus-faq.html#6 for more
info....
 

-- 
Mark J. Bobak 
Senior Oracle Architect 
ProQuest Information & Learning 

For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled.  --Richard P. Feynman, 1918-1988

 

________________________________

From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Reidy, Ron
Sent: Monday, May 08, 2006 1:28 PM
To: vikramsingh120@xxxxxxxxx; oracle-l@xxxxxxxxxxxxx
Subject: RE: find 2 days ago date in Solaris



Date math-ish things in the shell in the shell (I am using bash):

 

$ date -d "-2 day"

 

Check the man page for find to see how to find files with a ctime less
than 2 days.

 

--

Ron Reidy

Lead DBA

Array BioPharma, Inc.

 

________________________________

From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of vikram singh
Sent: Monday, May 08, 2006 11:08 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: find 2 days ago date in Solaris

 

Hello all,

    how can i find 2 days ago date in Solaris?

 

   I want to find all the trace files that were generated two days ago,
and only two days ago. not 'in the last two days', but files generated
only two days ago. Can anyone help me out?

 

     i am using SunOS 5.8.

 

Any help is thankful.

 

 

________________________________

This electronic message transmission is a PRIVATE communication which
contains information 
which may be confidential or privileged. The information is intended to
be for the use of the individual 
or entity named above. If you are not the intended recipient, please be
aware that any disclosure, 
copying, distribution or use of the contents of this information is
prohibited. Please notify the sender 
of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), 
and then delete it from your system. 

Other related posts: