Re: Script to sort file by access time
- From: "Janis" <janis_papanagnou@xxxxxxxxxxx>
- Date: 10 Nov 2006 06:09:04 -0800
yannick.dhennin@xxxxxxxxx wrote:
Barry Margolin a écrit :
In article <1163087221.491720.98960@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"Janis" <janis_papanagnou@xxxxxxxxxxx> wrote:
yannick.dhennin@xxxxxxxxx wrote:
Hi,
thanks for your answers.
the problem is when I'm doing ls -ltu or stat command the access time
is modified at the time the command is done.
Is it possible to have access to tha access time information of a file
without modify it ?
As has been said, if you compare ordinary files:
"The atime does not change by an ls or stat command."
If in your case that's different you have to provide more information
about your environment, and show what you've exactly done and what
exactly the results have been.
When I saw his first post, my thought was that one of the files he's
listing is the script itself. Executing the script will indeed update
the atime of the script -- the shell has to read the script to execute
it.
Hi,
The script is done for cygwin environement. It can explain why the
access-time is update.
No, that doesn't, per se, explain anything.
'ls -ltu' works for me with bash on Cygwin as expected.
To repeat what I said: "[...] and show what you've exactly done and
what exactly the results have been."
Janis
Yannick.
.
- Follow-Ups:
- Re: Script to sort file by access time
- From: Bill Marcum
- Re: Script to sort file by access time
- References:
- Script to sort file by access time
- From: yannick . dhennin
- Re: Script to sort file by access time
- From: Michael Tosch
- Re: Script to sort file by access time
- From: Stephane CHAZELAS
- Re: Script to sort file by access time
- From: yannick . dhennin
- Re: Script to sort file by access time
- From: Janis
- Re: Script to sort file by access time
- From: Barry Margolin
- Re: Script to sort file by access time
- From: yannick . dhennin
- Script to sort file by access time
- Prev by Date: Re: 'type' builtin in posix-only shell
- Next by Date: Re: text replace
- Previous by thread: Re: Script to sort file by access time
- Next by thread: Re: Script to sort file by access time
- Index(es):
Relevant Pages
|