I don't accept this as an aswer :-)
My question was about arbitrarily changing the ctime of a file, or larger set of files. Down to the second, to the integer in the file stat structure.
Like with touch with a time argument, or -r referenceFile.
Like with touch and the -a or -m arguments -- I was asking for a -c argument!

To achive that manually by changing the system time sounds like playing a video game, hit-and-miss. Plus other files may get stampd unintentionally during that period, and log entries may be created.

 - Horst

Date: Wed, 28 Jan 2009 00:39:43 -0800
From: Alan <[email protected]>
Reply-To: Eugene Unix and Gnu/Linux User Group <[email protected]>
To: Eugene Unix and Gnu/Linux User Group <[email protected]>
Subject: Re: [Eug-lug] ls script help

Mike Cherba wrote:
On Wed, 2009-01-28 at 00:17 -0800, Alan wrote:
Which apparently doesn't change the ctime on linux.

Yup.  Which is why you change the system time.  Ccime is maintained by
the system for good reasons.



I know I have used a *nix in the past 10 years in which touch could change the ctime. A bastardized version of SCO, maybe?
It's now going to bug me until I figure it out.

-ajb
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to