What is the PowerShell command for moving all files from folder A to folder B in an S3 bucket?
Question posted in Amazon Web Sevices
The official Amazon Web Services documentation can be found here.
The official Amazon Web Services documentation can be found here.
2
Answers
You can use the AWS Command-Line Interface (CLI):
It will perform a
CopyObject
and aDeleteObject
object for each object infolderA
.Move files from "folder" folderA to folderB in same bucket
To create an "empty folder" with only a / -named file, use this command. It will also be moved with the rest of the files if not excluded.