find /path/to/nextcloud -type f -name '.rnd' -exec rm {} +
But it should not be required for these particular files from Nextcloud 17 on. In every other case (other extra files), it should be still safe to remove the files, as long as you’re not sure what they are, else move them to another place as backup.