batch transfer images and yaml files to s3 #5831
-
I have a bunch of image files I need to transfer from a local disk to s3, the problem is that they all have an associated yaml file with a lot of fields. I would much prefer not having to go back and manually input all the settings for each image. I tried uploading the images in Statamic cp and then logging in to aws and replacing the yaml files through the s3 interface but it doesn't work, if you click on the file after overwriting it seems to think it's an xml file. So I'm wondering what the best method to batch transfer all images and associated yaml data to my bucket might be. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Why not use an FTP client that can connect to S3? Theres lots of them out there. You should be able to then just copy over everything to your S3 disk (yaml and all) and then update the disk in your filesystems config |
Beta Was this translation helpful? Give feedback.
Why not use an FTP client that can connect to S3? Theres lots of them out there. You should be able to then just copy over everything to your S3 disk (yaml and all) and then update the disk in your filesystems config