Updating file timestamps after restore

I have recently rebuilt my server due to a filesystem failure. Without thinking I copied my existing files to a new locate, which meant I lost my timestamps. So everything is reporting the date of when I copied the files. Realising my mistake and then deleted the files and rsync’d them across to preserve the timestamp, however nextcloud is still showing the files with the date I originally copied them.

Is there a way to force a re-scan of the files to update the timestamp in nextcloud?

Thanks in advance.

Does anyone know if this is possible at all?