Explore Courses Blog Tutorials Interview Questions
0 votes
in AWS by (19.1k points)

Is there any function to rename files and folders in Amazon S3? Any related suggestions are also welcome.

1 Answer

0 votes
by (44.4k points)

You can use this command. Basically, the mv command will copy the object and then delete it:

aws s3 --recursive mv s3://<bucketname>/<folder_name_from> s3://<bucket>/<folder_name_to>

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer

Browse Categories