This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Timestamp not updating

ls -alu does the trick. I am used to Solaris on the Suns where
ls -alc does show changed times after touching or modification.



>===== Original Message From =====
>On Sat, 22 Nov 2003, Dr Christian Hicks wrote:
>> I have just realised that after I have touched the files they
>> show as being updated if I view the files with Windows Explorer.
>> It is ls -alc and make that do not see the files as updated.
>> Best regards,
>> Chris
>The following is from "ls --help":
>  -c                         with -lt: sort by, and show, ctime (time of last
>                               modification of file status information)
>                               with -l: show ctime and sort by name
>                               otherwise: sort by ctime
>In other words, you're essentially asking it to print the file creation
>time.  "touch"  doesn't change that.  Try "ls -alu" or even "ls -al" --
>you should get different times there.
>I don't know if this explains your make problems.
>	Igor
>      |\      _,,,---,,_
>ZZZzz /,`.-'`'    -.  ;-;;,_
>     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>"I have since come to realize that being between your mentor and his route
>to the bathroom is a major career booster."  -- Patrick Naughton
>Unsubscribe info:
>Problem reports:

Dr Christian Hicks
Senior Lecturer,
School of Mechanical & Systems Engineering,
Stephenson Building,
University of Newcastle upon Tyne,
NE1 7RU.
Phone: +44 191 222 6238
Mobile 0795 8317804
Fax: + 44 191 222 8600

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]