Overview

This is a personal note on how to upload multiple files to mdx.jp object storage. It references the following video.

https://youtu.be/IN_4NS9hO2Y

Preparation

Working on macOS.

brewinstalls3cmd

Configuration (please refer to the video for details.)

s3cmd-configure

Batch Registration (Sync)

The following syncs files in the local rekion folder to s3://rekion/iiif/.

s3cmdsyncdocs/rekion/s3://rekion/iiif/-exclude.DS_Store'

Reference

find.-name.DS_Store'-typef-delete

Batch ACL Change

s3cmdsetacls3://rekion/iiif/-acl-public-recursive

Note (CORS Permission)

I prepared the following XML file and attempted to enable CORS.

<C/OCROS<RCC/SoOCCnROofS<<<RniRAAASfgulllRiullllugreooolua>wwwerteee>aidddtoOMHinreeoitanxghd>mioelndrn>>>s*G*=<E<"/T/hA<Atl/ltlAlpolo:wlw/eoe/dwdsOeH3rde.iMaagedmiteanhrz>o>odn>aws.com/doc/2006-03-01/">

However, the result was as follows, and CORS could not be enabled with this method.

sE3RcRmOdR:seSt3coerrsrocro:rs5.0x1ml(Nso3t:I/m/prleekmieonnt/ed):Aheaderorparameteryouprovidedimpliesfunctionalitythatisnotimplemented.

I would like to continue investigating how to configure this.

Summary

I hope this serves as a useful reference for using mdx.jp object storage.