New to code
New to code

Reputation: 41

How can creation times be preserved while copying on Mac?

I want to copy files and folders on my macOS 11 while maintaining the "created" time attribute.

I have tried the following commands in Terminal:

cp -p
rsync -atX
ditto

I'm using rsync stable version 3.3.0 protocol version 31

They only preserve modification times. The destination has updated creation times.

Upvotes: 0

Views: 216

Answers (0)

Related Questions