Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Touch Change Access, Modify AND Change

How can I change 'change' date?

$ touch -t 9901010000 test;stat test
  File: `test'
  Size: 0           Blocks: 0          IO Block: 4096   regular empty file
Device: fe01h/65025d    Inode: 11279017    Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/    x)   Gid: ( 1000/    x)
Access: 1999-01-01 00:00:00.000000000 +0100
Modify: 1999-01-01 00:00:00.000000000 +0100
**Change: 2012-04-08 19:26:56.061614473 +0200**
 Birth: -
share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, slhck, Paul, Diogo, Randolph West Jul 20 '12 at 18:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

but there is no info how change st_ctime – Someone1234 Apr 8 '12 at 19:25

I assume you would like to set it to some arbitrary value.

Generally, you can not do that as it is not user settable the same way as access and creation times are.

You could change the system time to something you want, change the file, and change system time back, if you really want to. Or dismount the file system and edit it directly. That is not recommended though - you shouldn't have stuff depending on specific values for this information.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .