I am trying to move files between two S3 buckets in two different accounts using AWS CLI. I was able to successfully do a test copy of the files. Now my question is, is the scenario below possible through CLI?
Existing structure:
S3 => Videos(bucket) => ID(folder) => list of transcoded video files
S3 => Thumbnails(bucket) => ID(folder) => list of thumbnails
New Structure:
S3 => Company(bucket) => dev/prod(folder) => ID(folder) => Videos(folder) => list of transcoded video files
=> Thumbnails(folder) => list of thumbnails
The ID folder will also have a Thumbnails(folder) => list of thumbnails
So basically combine both S3 buckets data into one bucket in the new structure. Is it possible to do this kind of copying using CLI?? If so, please guide me in that approach.
ID(folder)have multiple values, or is it just one folder? That is, are there multiple folders with different IDs, each of which will contain a Videos and Thumbnails folder? - John Rotenstein