How can creation times be preserved while copying on Mac?

22 views Asked by At

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

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

0

There are 0 answers