1
我試圖將所有JSON文件從給定本地目錄移至遠程S3文件夾。使用CLI將本地目錄中的所有JSON文件移至s3
繼the instructions,我已經試過:
aws s3 mv /path/to/loca/dir/ \
s3://bucket-name/path/to/destination/ \
--exclude "*" \
--include "*.json" \
--acl public-read \
--cache-control \
max-age=15,public
即使有166個JSON文件/path/to/loca/dir/
,該aws s3 mv
命令退出安靜,不動任何文件。
任何想法爲什麼mv
將JSON文件複製到存儲桶?
我是多麼的愚蠢。謝謝。 –