Comment

Comment by lurtbancaster

Question for rsync users on linux. Does your rsync preserve creation times --crtimes ?

I'm aware ext4/3 filesystems don't store creation times. But I want to use rsync on Linux to sync files between an NTFS(supports creation times) and a Btrfs partition(also supports creation times) without losing the creation times.

Currently rsync just sets the creation time to the modification time on the destination directory. Which is not what I want.

When I use `--crtimes` I get a "This rsync does not support --crtimes (-N)" error.

Weirdly, just using `cp -a` works. But it doesn' t have any of the checksumming and differential copy bells and whistles of rsync.

How do you rsync on linux while preserving creation times(on supported file systems)?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton