We are copying the images and documents from our local Ubuntu server to the Google bucket using the below command.
gsutil -m rsync -a public-read -R -C -f /media/data_disk/ITEM/ gs://dev-cdn-assets-com/ITEM
The command is copying only the new images or Documents to the CDN server, if an image already exists with the same name then it will not copy. We should copy the updated images with the same name. Any suggestion will be appreciated
-cflag to use checksums instead of dates for change comparison.gsutil -m rsync -r -d -n gs://source-bucket gs://destination-bucketas suggested here