@tastytronic I think my desired behavior would be that both mtime and ctime be p...
mathew @mathew@universeodon.com
@tastytronic I think my desired behavior would be that both mtime and ctime be preserved. It really depends whether you view both as properties of the content of the file, or as properties of the directory entry in the filesystem.
If I unpack an old document from an archive, the information I’m interested in as a human is when the contents were first saved anywhere, and when they were last changed. Yet the file in the filesystem was clearly both created and modified at the moment when I unpacked it.
What seems particularly counterintuitive to me is the idea that mtime and ctime might obey different rules for when they’re preserved versus when they’re reset.
(macOS has an extra “added” timestamp for when the file was added to its enclosing folder, which I find extremely useful.)