On Sat, 2006-01-07 at 16:46, Hardik Dalwadi wrote:
> On Saturday 07 January 2006 04:31 PM, Nadeem M. Khan wrote:
> > On Sat, 2006-01-07 at 15:09, Anurag wrote:
> > 
> >>Sometime on Sat, Jan 07, 2006 at 03:05:40PM +0530, Hardik Dalwadi said:
> 
> > ls -lt give the date like this,
> > 
> > [EMAIL PROTECTED] tima]$ ls -lt
> > total 5412
> > -rw-r--r--    1 tima     prgrp        1815 Jan  5 22:25 toppy.txt
> > -rw-------    1 tima     prgrp       23024 Dec 17 00:09 mbox
> > drwxr-xr-x    2 root     root         1024 Mar 14  2005 plugins
> 
> I am suspecting above things when i have posted my mail. Try below command.
> 
> [EMAIL PROTECTED]:~$ ls -lt --time-style=long-iso | grep `date -I`
> -rw-r--r--   1 hardik hardik       0 2006-01-07 16:44 hello

Okay that works. Thanks. I have another query. The above method works if
the file *content* is modified (with VI or some text editor). It does
not work if the *attributes* of the file are changed (eg chmod a+x
filename). In this case, the date stamp remains unchanged. 

How do I find which files have had their attributes changed since
yesterday?

Regards,
NMK.


-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to