add the old snippet md files
This commit is contained in:
parent
fc0dd204c7
commit
bcf8313a4b
110 changed files with 3048 additions and 0 deletions
19
old_snippets/s3-move-folder.en.md
Normal file
19
old_snippets/s3-move-folder.en.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
title: "s3 move folder / rename folder"
|
||||
seo_description: "snippet showing how to move files from one s3 'folder' to another"
|
||||
date: 2022-03-17T15:08:04+01:00
|
||||
draft: false
|
||||
snippet_types:
|
||||
- s3
|
||||
- aws
|
||||
---
|
||||
|
||||
Working on my [Oblastle](https://oblastle.fun) game today. In an effort to standardize the way I store images for the game in S3 I needed to move all the files with key **image-service/images/oblastle/flags/** to **/image-service/images/oblastle/flag/**.
|
||||
|
||||
Here is how I did it:
|
||||
|
||||
```shell
|
||||
$ aws s3 mv s3://travisshears.images/image-service/images/oblastle/flags/ s3://travisshears.images/image-service/images/oblastle/flag/ --recursive --profile personal
|
||||
```
|
||||
|
||||
[source](https://bobbyhadz.com/blog/aws-s3-rename-folder)
|
||||
Loading…
Add table
Add a link
Reference in a new issue