Is it possible to change a file "Birth date" (according to the
stat file "Birth" field)?
I can change the modification/access time with
touch -t 200109110846 file, but can't find the corresponding option for "Birth".
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Like the last change time, the birth time isn’t externally controllable. On file systems which support it, the birth timestamp is set when a file is created, and never changes after that.
If you want to control it, you need to change the system’s notion of the current date and time, and create a new file.