aws / aws-tools-for-powershell

The AWS Tools for PowerShell lets developers and administrators manage their AWS services from the PowerShell scripting environment.
Apache License 2.0
239 stars 79 forks source link

S3 mv #353

Open ukdocCT opened 3 months ago

ukdocCT commented 3 months ago

Describe the feature

While investigating a new function, i came across aws s3 mv function but could fine no equivalent in the powershell modules.

Use Case

Moving s3 object from one path/key/bucket to another path/key/bucket

Proposed Solution

No response

Other Information

No response

Acknowledgements

AWS Tools for PowerShell version used

AWS.Tools.S3 v4.1.467

PowerShell version used

PS 7.4.3 & PS 5.1

Operating System and version

Windows 10

ashishdhingra commented 3 months ago

Useful feature request. AWS CLI aws s3 mv is the customized implementation. S3 API doesn't natively support move operation. So basically S3 move is a combination of CopyObject and DeleteObject operation.

Needs review with the team.