Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 504 Bytes

File metadata and controls

13 lines (10 loc) · 504 Bytes

Migrating Existing Images to the Optimised Format

To re-process images already in the bucket through the optimisation pipeline, move them out and back in to trigger the Cloud Run job.

1. Move all images to a temporary folder:

gsutil -m mv gs://hashtaglocalbucket-staging/images/* gs://hashtaglocalbucket-staging/temp_images/

2. Move them back to the original folder:

gsutil -m mv gs://hashtaglocalbucket-staging/temp_images/* gs://hashtaglocalbucket-staging/images/