[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: date problem with ls -la --time=ctime



Rainer Traut wrote:

Thanks, that's what I was looking for.
It looks now this way:
find /tmp -type f -user notes -iname "eo*" -amin +15 -exec ls -la {}
--time=atime \;

xargs is usually *much* quicker :-)

But I still don't understand why the date of three days ago.
The file did not exist at that time.
I deleted all files this morning and confimed /tmp has no eo* files anymore.

Me neither. However, the utimes() system call can set both the mtime and the atime (changing the times sets the ctime)


jch


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]