1

Are file timestamps (Created/birth, accessed and modified) the same on different OSes? Particularly on Windows and Linux.

I downloaded a file which is modified on Windows and its timestamps looked right on my Linux system with ext4.

  • Let's say I modified a file on a NTFS filesystem mounted on Linux.

  • Or I copied it to my ext4 partition, modified it (or accessed it) and put it back (for modified and/or accessed).

  • Or I created a file on ext4 and put it to a NTFS partition (for birth).

Will they look right on Windows?

I use Windows and Linux together and I want to keep timestamps same.

AdminBee
  • 21,637
  • 21
  • 47
  • 71
Pverpa
  • 11
  • 1

1 Answers1

1

Linux utilities, aside from star, cannot copy the birth/creation time but star does that only for files extracted/restored from .tar archives, so basically we have none.

Please refer to this question for more info: Copying or restoring crtime for files/directories on ext4fs filesystem

Artem S. Tashkinov
  • 26,392
  • 4
  • 33
  • 64