Hi, 
      Thanks for ur valuable reply.

      I got another option with "find" command which
shown below. I used find command with "-ctime n"
option.
      For example if my system date is 27/10/06 and if

i want to find the file 18/10/06 under /root/ then :-

[EMAIL PROTECTED] root]# find /root/ -ctime 8
      
      This shows file which are created on 18/10/06   
         
     But the output of this is not same as like 
ls --full-time | grep "2006-10-18"
      Ok nadeem can u explain ur more logic , which u
mention ur HINT
       
Thanks & Regards
Jayesh 
      
 

--- "Nadeem M. Khan" <[EMAIL PROTECTED]> wrote:

> On 10/27/06, ravindra mane <[EMAIL PROTECTED]>
> wrote:
> 
> > Hi,
> >
> >    You can use "ls" instead of "find".
> >
> >    ls --full-time | grep "2006-10-18"
> >
> 
> Its never a good idea to use grep for time
> filtering. The modification
> time of a file is stored in a C structure in its
> inode. You need to
> extract it from there.
> 
> HINT: Create two reference files, the first dated a
> day before 18th
> October, that is 17-10-2006 and the second dated a
> day after 18th
> October, that is 19-10-2006. Then use the powerful
> find command with
> the "-newer" option.
> 
> If you still don't get it, let us know.
> 
> Regards,
> NMK.
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


***Archives:
http://groups.yahoo.com/group/linuxvadapav/messages

***Group Usage Guidelines (Please Read):
http://groups.yahoo.com/group/linuxvadapav/files/mailing_rules 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/linuxvadapav/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/linuxvadapav/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to