Dan Widyono on 23 Jan 2007 16:16:09 -0000 |
I think he's talking about the ctime in a file's stat structure. In Linux there doesn't appear to be a way a normal user can modify such. utime.h does not allow for it. You can try changing the system time, chmod'ing the file to its current mode (unless you also want to change permissions) ((or chown'ing to its current owner, unless you also want to change owner)), then change the system time back. But *why* do you want to change ctime? I fought with this over 10 years ago. I gave up and changed my strategy. Dan W. On Tue, Jan 23, 2007 at 10:48:53AM -0500, Chad Waters wrote: > $ date +%s > 1169567247 > > Is that what you're looking for? > > -C > > On 1/23/07, <X> wrote: > >How does one check and change ctime? > ___________________________________________________________________________ > Philadelphia Linux Users Group -- http://www.phillylinux.org > Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce > General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|