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″