Skip to content

Copying doesn't preserve modification time/date for folders, symlinks

Using Debian Sid/Unstable and Thunar 4.20.4

Steps to reproduce

  1. Copy from one drive to another: a folder with files, folders, symlinks
  2. Compare the modification dates on files, folders, and symlinks
  3. Files preserve mod dates, folders and symlinks do not

Current behavior

Currently Thunar preserves modification times for files when transferring between devices. But it does not seem to do the same for folders and symlinks. Not sure about any other sort of "files" (pipes, hardlinks, etc).

Expected outcome

It would be nice if dates were preserved for all transferred files, folders, etc.

Additional information

Just noticed this when double checking migration to new drive with rsync (which after looking into it seems to update the dir times after a dir copy is finished since copying continually changes the mod time).

Old directory ls:

oldfiles

New directory ls:

newfiles