rsync cannot preserve the modified time after updating to 15.4

# Basic info:

the script is like:

rsync -ahPv LOCALDIR/ REMOTEDIR/


rsync version after updating to 15.4:

$ /usr/bin/rsync -V

openrsync: protocol version 29

rsync version 2.6.9 compatible


Terminal is granted with "Full Disk Access".


# The Issue:

I had a script to sync my files to my NAS server. It has been running for years without any issue. But after the recent update to 15.4, the script doesn't work correctly as it copies the same files again and again. After some basic troubleshooting, I found the uploaded files on the NAS are tagged with the time of copying. But previously the uploaded files can have their original modified times.


# Troubleshooting

  • I tried with one MBP and one Mac Mini. This problem is happening with both after updating to 15.4.
  • Cannot be fixed by add "--times" explicitly to rsync


MacBook Pro 16″

Posted on Apr 12, 2025 8:35 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 17, 2025 7:30 AM

Hi darylcz,


Apple recently replaced rsync with openrsync behind the scenes: https://derflounder.wordpress.com/2025/04/06/rsync-replaced-with-openrsync-on-macos-sequoia/


Not sure if openrsync still supports the functionality you're looking for, but if not, maybe just install the latest version of rsync using Homebrew.

9 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

rsync cannot preserve the modified time after updating to 15.4

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.