ctime is not mtime.
mtime is ls -l
ls -l | awk '{print $6" "$7" "$8}'
On Tue, 3 Apr 2001, Werner Puschitz wrote:
>
> ctime (mtime):
> ls -lc
> or
> ls -l --time=ctime
>
> access time:
> ls -l --time=atime
>
> Werner
>
>
> On Tue, 3 Apr 2001, Emmanuel Seyman wrote:
>
> > Hey all.
> >
> > I
At 4/3/01 06:03 PM +0200, you wrote:
>I'm trying to do a little shell script and I have a list of files
>on which I have to do an operation. I'ld like to get the mtime
>for each of the files but can't figure out how to do it.
It would take me awhile to figure out how to code this since I'm pretty
ctime (mtime):
ls -lc
or
ls -l --time=ctime
access time:
ls -l --time=atime
Werner
On Tue, 3 Apr 2001, Emmanuel Seyman wrote:
> Hey all.
>
> I'm trying to do a little shell script and I have a list of files
> on which I have to do an operation. I'ld like to get the mtime
> for each of the
Hey all.
I'm trying to do a little shell script and I have a list of files
on which I have to do an operation. I'ld like to get the mtime
for each of the files but can't figure out how to do it.
Can anybody help
Emmanuel Seyman
___
Redhat-list mail